NoAcceptableCredentialException Class

 

The exception that is thrown when no acceptable credential is provided.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    System.Web.Security.SingleSignOn.NoAcceptableCredentialException

Syntax

[SerializableAttribute]
public sealed class NoAcceptableCredentialException : Exception, 
    ISerializable
[SerializableAttribute]
public ref class NoAcceptableCredentialException sealed : Exception, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
type NoAcceptableCredentialException = 
    class
        inherit Exception
        interface ISerializable
    end
<SerializableAttribute>
Public NotInheritable Class NoAcceptableCredentialException
    Inherits Exception
    Implements ISerializable

Constructors

Name Description
System_CAPS_pubmethod NoAcceptableCredentialException()

Initializes a new instance of the NoAcceptableCredentialException class.

System_CAPS_pubmethod NoAcceptableCredentialException(String)

This constructor supports the AD FS infrastructure and is not intended to be used directly from your code. Initializes a new instance of NoAcceptableCredentialException class with the specified error message.

System_CAPS_pubmethod NoAcceptableCredentialException(String, Exception)

This constructor supports the AD FS infrastructure and is not intended to be used directly from your code. Initializes a new instance of the NoAcceptableCredentialException class with the specified error message and a reference to the inner exception that caused this exception.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

This member supports the AD FS infrastructure and is not intended to be used directly from your code.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top