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
s
Type: System.StringA string describing the error.
e
Type: System.ExceptionThe 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