public InternalReceiveMessage() { this.CorrelatesWith = new InArgument<CorrelationHandle>(context => (CorrelationHandle)null); this.receiveMessageInstance = new Variable<VolatileReceiveMessageInstance>(); this.waitForReply = new WaitForReply { Instance = this.receiveMessageInstance }; this.onClientReceiveMessageComplete = new CompletionCallback(ClientScheduleOnReceiveMessageCallback); this.extensionReceiveBookmark = new Variable<Bookmark>(); }
public InternalReceiveMessage() { this.CorrelatesWith = new InArgument <CorrelationHandle>(context => null); this.receiveMessageInstance = new Variable <VolatileReceiveMessageInstance>(); WaitForReply reply = new WaitForReply { Instance = this.receiveMessageInstance }; this.waitForReply = reply; this.onClientReceiveMessageComplete = new CompletionCallback(this.ClientScheduleOnReceiveMessageCallback); }