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 | |
---|---|---|
WrongPrincipalException() | Initializes a new instance of the WrongPrincipalException class. |
|
WrongPrincipalException(String) | Initializes a new instance of the WrongPrincipalException class using a specified String. Calls the base class method Exception(). |
|
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 | |
---|---|---|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
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).) |
|
GetType() | (Inherited from Exception.) |
|
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