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