public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) { bool requestAvailable = innerReplySessionChannel.EndTryReceiveRequest(result, out context); if (requestAvailable && context != null) { ReadAndAddContextIdToMessage(context.RequestMessage); } return(requestAvailable); }
protected override void EndTryReceiveItem(IReplySessionChannel channel, IAsyncResult result, out RequestContext item) { channel.EndTryReceiveRequest(result, out item); }