get Copy Context
Obtains context on a Secondary replica after it is created and opened to send context to the Primary replica.
Remarks:The Primary replica analyzes the context and sends back state via system.fabric.StateProvider#getCopyState(SequenceNumber, OperationDataStream) . system.fabric.StateProvider#getCopyContext() is called on newly created, idle Secondary replicas and provides a mechanism to asynchronously establish a bidirectional conversation with the Primary replica. The Secondary replica sends system.fabric.OperationData objects with which the Primary replica can determine the progress of collecting context on the Secondary replica. The Primary replica responds by sending the required state back. See system.fabric.StateProvider#getCopyState(SequenceNumber, OperationDataStream) at the Primary replica for the other half of the exchange. For in-memory services, the system.fabric.StateProvider#getCopyContext() method is not called, as the state of the Secondary replicas is known (they are empty and will require all of the state).
public OperationDataStream getCopyContext()