Beispiel #1
0
 /// <summary>
 /// Completes a message submission operation
 /// </summary>
 /// <param name="result">
 /// The asynchronous completion token
 /// </param>
 /// <returns>
 /// The request response
 /// </returns>
 public override void EndReply(IAsyncResult result)
 {
     result.WaitFor();
 }
Beispiel #2
0
 /// <summary>
 /// Completes a message submission operation
 /// </summary>
 /// <param name="result">
 /// The asynchronous completion token
 /// </param>
 public virtual void EndSend(IAsyncResult result)
 {
     result.WaitFor();
 }
Beispiel #3
0
 /// <summary>
 /// Channel initialization callback
 /// </summary>
 /// <param name="result">
 /// The asynchronous completion token
 /// </param>
 protected override void OnEndOpen(IAsyncResult result)
 {
     result.WaitFor();
 }
Beispiel #4
0
 /// <summary>
 /// Completes a request submission operation
 /// </summary>
 /// <param name="result">
 /// The asynchronous completion token
 /// </param>
 /// <returns>
 /// The request response
 /// </returns>
 public override Message EndRequest(IAsyncResult result)
 {
     result.WaitFor();
      return (result is SyncResult) ?
     null :
     ((AsyncResult)result).GetResult<Message>();
 }
 /// <summary>
 /// Completes a session close operation
 /// </summary>
 /// <param name="result">
 /// The asynchronous completion token
 /// </param>
 public virtual void EndCloseOutputSession(IAsyncResult result)
 {
     result.WaitFor();
 }