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 and cannot be retried.</summary>
|
|
// Token: 0x0200027D RID: 637
|
|
[Serializable]
|
|
public class InvalidCredentialException : AuthenticationException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with no message. </summary>
|
|
// Token: 0x0600176D RID: 5997 RVA: 0x0004E148 File Offset: 0x0004C348
|
|
public InvalidCredentialException()
|
|
: base(global::Locale.GetText("Invalid credentials exception."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with the specified message.</summary>
|
|
/// <param name="message">A <see cref="T:System.String" /> that describes the authentication failure.</param>
|
|
// Token: 0x0600176E RID: 5998 RVA: 0x0004E15C File Offset: 0x0004C35C
|
|
public InvalidCredentialException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> 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: 0x0600176F RID: 5999 RVA: 0x0004E168 File Offset: 0x0004C368
|
|
public InvalidCredentialException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> 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.InvalidCredentialException" /> instance. </param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance. </param>
|
|
// Token: 0x06001770 RID: 6000 RVA: 0x0004E174 File Offset: 0x0004C374
|
|
protected InvalidCredentialException(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
: base(serializationInfo, streamingContext)
|
|
{
|
|
}
|
|
}
|
|
}
|