public NativeCommon.IFabricAsyncOperationContext BeginWaitForCatchUpQuorum(NativeTypes.FABRIC_REPLICA_SET_QUORUM_MODE catchUpMode, NativeCommon.IFabricAsyncOperationCallback callback) { return(Utility.WrapNativeAsyncMethodImplementation((cancellationToken) => this.BeginWaitForCatchupQuorumAsync(catchUpMode, cancellationToken), callback, "ReplicaBroker.WaitForCatchUpQuorum")); }
private Task BeginWaitForCatchupQuorumAsync(NativeTypes.FABRIC_REPLICA_SET_QUORUM_MODE catchUpMode, CancellationToken cancellationToken) { ReplicaSetQuorumMode quorumMode = (ReplicaSetQuorumMode)catchUpMode; return(this.replicator.WaitForCatchUpQuorumAsync(quorumMode, cancellationToken)); }