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 | Determines whether the specified object is equal to the current object. (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 | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCommandValidator |
Gets the command validator.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (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.) |