Пример #1
0
 /// <summary>
 /// Constructs a new WebAuthenticationException
 /// </summary>
 /// <param name="errorCode">The enum error code</param>
 /// <param name="message">A brief message on the error</param>
 public WebAuthenticationException(WebAuthenticationErrorCodes errorCode, string message) : base(message)
 {
     ErrorCode = errorCode;
 }
Пример #2
0
 /// <summary>
 /// Constructs a new WebAuthenticationException
 /// </summary>
 /// <param name="errorCode">The enum error code</param>
 /// <param name="message">A brief message on the error</param>
 /// <param name="innerException">The underlying exception wrapped by this specific exception</param>
 public WebAuthenticationException(WebAuthenticationErrorCodes errorCode, string message, Exception innerException) : base(message, innerException)
 {
     ErrorCode = errorCode;
 }