DocumentFragment<TDocument> ClassCouchbase .NET SDK 2.3.3
Inheritance Hierarchy
System.Object
  Couchbase.OperationResult
    Couchbase.DocumentFragment<TDocument>

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public class DocumentFragment<TDocument> : OperationResult, 
	IDocumentFragment<TDocument>, IOperationResult<TDocument>, IOperationResult, IResult, 
	IDocumentFragment, ITypeSerializerProvider 
Type Parameters
TDocument
The document

The DocumentFragment<TDocument> type exposes the following members.

Constructors
  NameDescription
Public methodDocumentFragment<TDocument>
Initializes a new instance of the DocumentFragment<TDocument> class
Top
Methods
  NameDescription
Public methodContent(Int32)
The value if it exists for a specific index.
Public methodContent(String)
The value if it exists for a specific path.
Public methodContent<TContent>(Int32)
The value if it exists for a specific index.
Public methodContent<TContent>(String)
The value if it exists for a specific path.
Public methodCount
The count of the sub-document operations chained togather.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists
Checks whether the given path is part of this result set, eg. an operation targeted it, and the operation executed successfully.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsNmv
Checks if the server responded with a Not My Vbucket.
(Inherited from OperationResult.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpStatus(Int32)
Gets the ResponseStatus for a specific operation at it's index.
Public methodOpStatus(String)
Gets the ResponseStatus for a specific operation at it's path.
Public methodShouldRetry (Inherited from OperationResult.)
Public methodToString
Returns a String that represents this instance.
(Inherited from OperationResult.)
Top
Extension Methods
  NameDescription
Public Extension MethodContent<TDocument, TContent>
Get the result type TContent from a document of type TDocument, using a given lambda expression path.
(Defined by SubdocExtensions.)
Public Extension MethodExists<TDocument, TContent>
Get the existence result for a fragement of type TContent from a document of type TDocument, using a given lambda expression path.
(Defined by SubdocExtensions.)
Top
Properties
  NameDescription
Public propertyCas
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
(Inherited from OperationResult.)
Public propertyDurability
The level of durability that the operation achieved
(Inherited from OperationResult.)
Public propertyException
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from OperationResult.)
Public propertyExpiry
The time-to-live or TTL for the document before it's evicted from disk in milliseconds.
Public propertyId
The unique identifier or key for the document.
Public propertyMessage
If Success is false, the reason why the operation failed.
(Inherited from OperationResult.)
Public propertySerializer
Public propertyStatus
The status returned from the Couchbase Server after an operation.
(Inherited from OperationResult.)
Public propertySuccess
True if the operation succeeded.
(Inherited from OperationResult.)
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
(Inherited from OperationResult.)
Top
See Also