IChangeStreamOperationTResultResumeAsync Method |
Resumes the operation after a resume token.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax Task<IAsyncCursor<RawBsonDocument>> ResumeAsync(
IReadBinding binding,
CancellationToken cancellationToken
)
Function ResumeAsync (
binding As IReadBinding,
cancellationToken As CancellationToken
) As Task(Of IAsyncCursor(Of RawBsonDocument))
abstract ResumeAsync :
binding : IReadBinding *
cancellationToken : CancellationToken -> Task<IAsyncCursor<RawBsonDocument>>
Parameters
- binding
- Type: MongoDB.Driver.Core.BindingsIReadBinding
The binding. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskIAsyncCursorRawBsonDocumentA Task whose result is a cursor.
See Also