public static MessagingExceptionDetail ReconstructExceptionDetail(int errorCode, string message, MessagingExceptionDetail.ErrorLevelType errorLevel) { return(new MessagingExceptionDetail(errorCode, message, errorLevel)); }
private MessagingExceptionDetail(int errorCode, string message, MessagingExceptionDetail.ErrorLevelType errorLevel) { this.ErrorCode = errorCode; this.Message = message; this.ErrorLevel = errorLevel; }