Share via


WrongPrincipalException Constructor (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).

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

Syntax

public WrongPrincipalException(
    string s,
    Exception e
)
public:
WrongPrincipalException(
    String^ s,
    Exception^ e
)
new : 
        s:string *
        e:Exception -> WrongPrincipalException
Public Sub New (
    s As String,
    e As Exception
)

Parameters

  • e
    Type: System.Exception

    The Exception that is the cause of the current exception. If the InnerException property is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

See Also

WrongPrincipalException Overload
WrongPrincipalException Class
System.Web.Security.SingleSignOn Namespace

Return to top