共用方式為


NoAcceptableCredentialException Constructor (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.

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

Syntax

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

Parameters

  • s
    Type: System.String

    A string that contains the error message.

See Also

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

Return to top