using System; using System.Runtime.Serialization; namespace System.Security.Authentication { /// The exception that is thrown when authentication fails for an authentication stream. // Token: 0x02000279 RID: 633 [Serializable] public class AuthenticationException : SystemException { /// Initializes a new instance of the class with no message. // Token: 0x06001769 RID: 5993 RVA: 0x0004E110 File Offset: 0x0004C310 public AuthenticationException() : base(global::Locale.GetText("Authentication exception.")) { } /// Initializes a new instance of the class with the specified message. /// A that describes the authentication failure. // Token: 0x0600176A RID: 5994 RVA: 0x0004E124 File Offset: 0x0004C324 public AuthenticationException(string message) : base(message) { } /// Initializes a new instance of the class with the specified message and inner exception. /// A that describes the authentication failure. /// The that is the cause of the current exception. // Token: 0x0600176B RID: 5995 RVA: 0x0004E130 File Offset: 0x0004C330 public AuthenticationException(string message, Exception innerException) : base(message, innerException) { } /// Initializes a new instance of the class from the specified instances of the and classes. /// A instance that contains the information required to deserialize the new instance. /// A instance. // Token: 0x0600176C RID: 5996 RVA: 0x0004E13C File Offset: 0x0004C33C protected AuthenticationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { } } }