| FindOpcodeOperationTDocument Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Core.Operations
 Syntax
Syntaxpublic class FindOpcodeOperation<TDocument> : IReadOperation<IAsyncCursor<TDocument>>, IExecutableInRetryableReadContext<IAsyncCursor<TDocument>>
The FindOpcodeOperationTDocument type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | FindOpcodeOperationTDocument | 
            Initializes a new instance of the FindOpcodeOperationTDocument class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AllowPartialResults | 
            Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable.
             | 
|  | BatchSize | 
            Gets or sets the size of a batch.
             | 
|  | CollectionNamespace | 
            Gets the collection namespace.
             | 
|  | Comment | 
            Gets or sets the comment.
             | 
|  | CursorType | 
            Gets or sets the type of the cursor.
             | 
|  | Filter | 
            Gets or sets the filter.
             | 
|  | FirstBatchSize | 
            Gets or sets the size of the first batch.
             | 
|  | Hint | 
            Gets or sets the hint.
             | 
|  | Limit | 
            Gets or sets the limit.
             | 
|  | Max | 
            Gets or sets the max key value.
             | 
|  | MaxScan | Obsolete. 
            Gets or sets the max scan.
             | 
|  | MaxTime | 
            Gets or sets the maximum time the server should spend on this operation.
             | 
|  | MessageEncoderSettings | 
            Gets the message encoder settings.
             | 
|  | Min | 
            Gets or sets the min key value.
             | 
|  | Modifiers | 
            Gets or sets any additional query modifiers.
             | 
|  | NoCursorTimeout | 
            Gets or sets a value indicating whether the server will not timeout the cursor.
             | 
|  | OplogReplay | Obsolete. 
            Gets or sets a value indicating whether the OplogReplay bit will be set.
             | 
|  | Projection | 
            Gets or sets the projection.
             | 
|  | ResultSerializer | 
            Gets the result serializer.
             | 
|  | ShowRecordId | 
            Gets or sets whether the record Id should be added to the result document.
             | 
|  | Skip | 
            Gets or sets the number of documents skip.
             | 
|  | Snapshot | Obsolete. 
            Gets or sets whether to use snapshot behavior.
             | 
|  | Sort | 
            Gets or sets the sort specification.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Execute(IReadBinding, CancellationToken) | 
            Executes the operation.
             | 
|  | Execute(RetryableReadContext, CancellationToken) | 
            Executes the first attempt.
             | 
|  | ExecuteAsync(IReadBinding, CancellationToken) | 
            Executes the operation.
             | 
|  | ExecuteAsync(RetryableReadContext, CancellationToken) | 
            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.) | 
|  | 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.) | 
|  | ToExplainOperation | 
            Returns an explain operation for this find operation.
             | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ExecuteIAsyncCursorTDocument | 
            Executes a read operation using a channel source.
            (Defined by OperationExtensionMethods.) | 
|  | ExecuteAsyncIAsyncCursorTDocument | 
            Executes a read 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.) | 
 See Also
See Also