Table of Contents

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 MessageEncoderSettings

The 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 DatabaseNamespace

The database namespace.

pipeline IEnumerable<BsonDocument>

The pipeline.

resultSerializer IBsonSerializer<TResult>

The result value serializer.

messageEncoderSettings MessageEncoderSettings

The 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 CollectionNamespace

The collection namespace.

pipeline IEnumerable<BsonDocument>

The pipeline.

resultSerializer IBsonSerializer<TResult>

The result value serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.