WrongPrincipalException Class

 

An exception thrown if the security token, based on collected credentials, pertains to a different principal than the current accelerator token.

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.WrongPrincipalException

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod WrongPrincipalException()

Initializes a new instance of the WrongPrincipalException class.

System_CAPS_pubmethod WrongPrincipalException(String)

Initializes a new instance of the WrongPrincipalException class using a specified String. Calls the base class method Exception().

System_CAPS_pubmethod WrongPrincipalException(String, Exception)

Initializes a new instance of the WrongPrincipalException class using the specified string and a reference to the inner exception that is the cause of this exception. Calls the base class method Exception(String, 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 .NET Framework 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