| GeoSearchOperationTResult Class | 
Note: This API is now obsolete.
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Core.Operations
 Syntax
Syntax[ObsoleteAttribute("The geoSearch command was deprecated in server version 4.4.")] public sealed class GeoSearchOperation<TResult> : IReadOperation<TResult>
The GeoSearchOperationTResult type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | GeoSearchOperationTResult | 
            Initializes a new instance of the GeoSearchOperationTResult class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | CollectionNamespace | 
            Gets the collection namespace.
             | 
|  | Limit | 
            Gets or sets the limit.
             | 
|  | MaxDistance | 
            Gets or sets the maximum distance.
             | 
|  | MaxTime | 
            Gets or sets the maximum time.
             | 
|  | MessageEncoderSettings | 
            Gets the message encoder settings.
             | 
|  | Near | 
            Gets the point for which to find the closest documents.
             | 
|  | ReadConcern | 
            Gets or sets the read concern.
             | 
|  | ResultSerializer | 
            Gets the result serializer.
             | 
|  | Search | 
            Gets or sets the search.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Execute | 
            Executes the operation.
             | 
|  | ExecuteAsync | 
            Executes the operation.
             | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ExecuteTResult | 
            Executes a read operation using a channel source.
            (Defined by OperationExtensionMethods.) | 
|  | ExecuteAsyncTResult | 
            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