| MongoBulkWriteExceptionTDocument Methods | 
The MongoBulkWriteExceptionTDocument generic type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddErrorLabel | 
            Adds an error label.
            (Inherited from MongoException.) | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.(Inherited from Exception.) | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetObjectData | 
            Gets the object data.
            (Overrides MongoBulkWriteExceptionGetObjectData(SerializationInfo, StreamingContext).) | 
|  | GetType | Gets the runtime type of the current instance.(Inherited from Exception.) | 
|  | HasErrorLabel | 
            Determines whether the exception has some error label.
            (Inherited from MongoException.) | 
|  | RemoveErrorLabel | 
            Removes the error label.
            (Inherited from MongoException.) | 
|  | ToString | Creates and returns a string representation of the current exception.(Inherited from Exception.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | 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