public IServiceResponse EndSendRequest(IAsyncResult result)
{
WriteOperation operation = result as WriteOperation;
if (operation == null)
{
throw new ArgumentNullException("result");
}
try
{
operation.End(Int32.MaxValue);
}
finally
{
OperationCompleted(operation);
}
return operation.MessageBody as IServiceResponse;
}
#endregion