Dela via


IOperationDataStream Interface

Definition

An IOperationDataStream encapsulates a stream of OperationData objects that are exchanged between Primary replica and Secondary replica. Objects that implement IOperationDataStream are used during the copy process. Both the copy context GetCopyContext() method that is sent from the Secondary replica to the Primary replica and the copy state GetCopyState(Int64, IOperationDataStream) method implement the IOperationDataStream interface.

public interface IOperationDataStream
type IOperationDataStream = interface
Public Interface IOperationDataStream

Methods

GetNextAsync(CancellationToken)

Gets the next OperationData object from the IOperationDataStream.

Applies to