UpdateMessage Constructor |
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public UpdateMessage(
int requestId,
CollectionNamespace collectionNamespace,
BsonDocument query,
BsonDocument update,
IElementNameValidator updateValidator,
bool isMulti,
bool isUpsert
)
Public Sub New (
requestId As Integer,
collectionNamespace As CollectionNamespace,
query As BsonDocument,
update As BsonDocument,
updateValidator As IElementNameValidator,
isMulti As Boolean,
isUpsert As Boolean
)
new :
requestId : int *
collectionNamespace : CollectionNamespace *
query : BsonDocument *
update : BsonDocument *
updateValidator : IElementNameValidator *
isMulti : bool *
isUpsert : bool -> UpdateMessage
Parameters
- requestId
- Type: SystemInt32
The request identifier. - collectionNamespace
- Type: MongoDB.DriverCollectionNamespace
The collection namespace. - query
- Type: MongoDB.BsonBsonDocument
The query. - update
- Type: MongoDB.BsonBsonDocument
The update. - updateValidator
- Type: MongoDB.Bson.IOIElementNameValidator
The update validator. - isMulti
- Type: SystemBoolean
if set to true all matching documents should be updated. - isUpsert
- Type: SystemBoolean
if set to true a document should be inserted if no matching document is found.
See Also