Udostępnij za pośrednictwem


Saml2SecurityTokenWriteException Constructors

Definition

Overloads

Saml2SecurityTokenWriteException()

Initializes a new instance of the Saml2SecurityTokenWriteException class.

Saml2SecurityTokenWriteException(String)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

Saml2SecurityTokenWriteException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

Saml2SecurityTokenWriteException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

Saml2SecurityTokenWriteException()

Initializes a new instance of the Saml2SecurityTokenWriteException class.

public Saml2SecurityTokenWriteException ();
Public Sub New ()

Applies to

Saml2SecurityTokenWriteException(String)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

public Saml2SecurityTokenWriteException (string message);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException : string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException
Public Sub New (message As String)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

Applies to

Saml2SecurityTokenWriteException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

protected Saml2SecurityTokenWriteException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

the SerializationInfo that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

Saml2SecurityTokenWriteException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenWriteException class.

public Saml2SecurityTokenWriteException (string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException : string * Exception -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenWriteException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

innerException
Exception

A Exception that represents the root cause of the exception.

Applies to