Click or drag to resize
CreateViewOperation.ExecuteAsync Method
Executes the operation.

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax
public Task<BsonDocument> ExecuteAsync(
	IWriteBinding binding,
	CancellationToken cancellationToken
)

Parameters

binding
Type: MongoDB.Driver.Core.Bindings.IWriteBinding
The binding.
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<BsonDocument>
A Task whose result is the result of the operation.

Implements

IWriteOperation<TResult>.ExecuteAsync(IWriteBinding, CancellationToken)
See Also