returnExceptionFactory.Timeout(this,"The timeout was reached before the message could be written to the output buffer, and it was not sent",message,server,result,caller:caller);
returnExceptionFactory.Timeout(this,"The timeout was reached before the message could be written to the output buffer, and it was not sent",message,server,result,origin:caller);
caseWriteResult.WriteFailure:
caseWriteResult.WriteFailure:
default:
default:
returnExceptionFactory.ConnectionFailure(IncludeDetailInExceptions,ConnectionFailureType.ProtocolFailure,"An unknown error occurred when writing the message",server);
returnExceptionFactory.ConnectionFailure(IncludeDetailInExceptions,ConnectionFailureType.ProtocolFailure,"An unknown error occurred when writing the message",server);