MsgPack.Rpc.Client.RpcClient.EndNotify C# (CSharp) Method

EndNotify() public method

Finishes asynchronous method invocation.
You must call this method to clean up internal bookkeeping information and handles communication error.
/// is null. /// /// is not valid type. /// /// is returned from other instance, /// or its state is not valid. /// /// Failed to execute specified remote method. ///
public EndNotify ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult /// returned from . ///
return void
		public void EndNotify( IAsyncResult asyncResult )
		{
			this.VerifyIsNotDisposed();

			var notificationAsyncResult = AsyncResult.Verify<MessageAsyncResult>( asyncResult, this );
			notificationAsyncResult.WaitForCompletion();
			notificationAsyncResult.Finish();
		}
	}