Constructor ChangeStreamOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
ChangeStreamOperation(IEnumerable<BsonDocument>, IBsonSerializer<TResult>, MessageEncoderSettings)
Initializes a new instance of the ChangeStreamOperation<TResult> class.
public ChangeStreamOperation(IEnumerable<BsonDocument> pipeline, IBsonSerializer<TResult> resultSerializer, MessageEncoderSettings messageEncoderSettings)
Parameters
pipeline
IEnumerable<BsonDocument>The pipeline.
resultSerializer
IBsonSerializer<TResult>The result value serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.
ChangeStreamOperation(DatabaseNamespace, IEnumerable<BsonDocument>, IBsonSerializer<TResult>, MessageEncoderSettings)
Initializes a new instance of the ChangeStreamOperation<TResult> class.
public ChangeStreamOperation(DatabaseNamespace databaseNamespace, IEnumerable<BsonDocument> pipeline, IBsonSerializer<TResult> resultSerializer, MessageEncoderSettings messageEncoderSettings)
Parameters
databaseNamespace
DatabaseNamespaceThe database namespace.
pipeline
IEnumerable<BsonDocument>The pipeline.
resultSerializer
IBsonSerializer<TResult>The result value serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.
ChangeStreamOperation(CollectionNamespace, IEnumerable<BsonDocument>, IBsonSerializer<TResult>, MessageEncoderSettings)
Initializes a new instance of the ChangeStreamOperation<TResult> class.
public ChangeStreamOperation(CollectionNamespace collectionNamespace, IEnumerable<BsonDocument> pipeline, IBsonSerializer<TResult> resultSerializer, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
pipeline
IEnumerable<BsonDocument>The pipeline.
resultSerializer
IBsonSerializer<TResult>The result value serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.