FindAndModifyOperationBaseTResult Class |
Namespace: MongoDB.Driver.Core.Operations
public abstract class FindAndModifyOperationBase<TResult> : IWriteOperation<TResult>, IRetryableWriteOperation<TResult>, IExecutableInRetryableWriteContext<TResult>
The FindAndModifyOperationBaseTResult type exposes the following members.
Name | Description | |
---|---|---|
FindAndModifyOperationBaseTResult |
Initializes a new instance of the FindAndModifyOperationBaseTResult class.
|
Name | Description | |
---|---|---|
Collation |
Gets or sets the collation.
| |
CollectionNamespace |
Gets the collection namespace.
| |
MessageEncoderSettings |
Gets the message encoder settings.
| |
ResultSerializer |
Gets the result serializer.
| |
RetryRequested |
Gets or sets whether the operation can be retried.
| |
WriteConcern |
Gets or sets the write concern.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Execute(IWriteBinding, CancellationToken) |
Executes the operation.
| |
Execute(RetryableWriteContext, CancellationToken) |
Executes the first attempt.
| |
ExecuteAsync(IWriteBinding, CancellationToken) |
Executes the operation.
| |
ExecuteAsync(RetryableWriteContext, CancellationToken) |
Executes the first attempt.
| |
ExecuteAttempt |
Executes the first attempt.
| |
ExecuteAttemptAsync |
Executes the first attempt.
| |
Finalize | (Inherited from Object.) | |
GetCommandValidator |
Gets the command validator.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ExecuteTResult |
Executes a write operation using a channel source.
(Defined by OperationExtensionMethods.) | |
ExecuteAsyncTResult |
Executes a write operation using a channel source.
(Defined by OperationExtensionMethods.) | |
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |