public EndSendRequest ( IAsyncResult result ) : IServiceResponse | ||
result | IAsyncResult | The result returned from the BeginSendRequest call. |
return | IServiceResponse |
public IServiceResponse EndSendRequest(IAsyncResult result)
{
TcpClientChannel channel = m_channel;
if (channel == null)
{
throw ServiceResultException.Create(StatusCodes.BadSecureChannelClosed, "Channel has been closed.");
}
return channel.EndSendRequest(result);
}