Edit

Share via


IdentityValidationException Constructors

Definition

Initializes a new instance of the IdentityValidationException class.

Overloads

IdentityValidationException()

Initializes a new instance of the IdentityValidationException class.

IdentityValidationException(String)

Initializes a new instance of the IdentityValidationException class with the specified error message.

IdentityValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the IdentityValidationException class using the specified serialization information and serialization context.

IdentityValidationException(String, Exception)

Initializes a new instance of the IdentityValidationException class with the specified error message and the original exception that caused this exception to be thrown.

IdentityValidationException()

Initializes a new instance of the IdentityValidationException class.

public:
 IdentityValidationException();
public IdentityValidationException ();
Public Sub New ()

Applies to

IdentityValidationException(String)

Initializes a new instance of the IdentityValidationException class with the specified error message.

public:
 IdentityValidationException(System::String ^ message);
public IdentityValidationException (string message);
new System.IdentityModel.Selectors.IdentityValidationException : string -> System.IdentityModel.Selectors.IdentityValidationException
Public Sub New (message As String)

Parameters

message
String

A string that contains the error message that explains the reason for the exception.

Applies to

IdentityValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the IdentityValidationException class using the specified serialization information and serialization context.

protected:
 IdentityValidationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected IdentityValidationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Selectors.IdentityValidationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Selectors.IdentityValidationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

SerializationInfo that holds the serialized object data about the exception that is being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

IdentityValidationException(String, Exception)

Initializes a new instance of the IdentityValidationException class with the specified error message and the original exception that caused this exception to be thrown.

public:
 IdentityValidationException(System::String ^ message, Exception ^ innerException);
public IdentityValidationException (string message, Exception innerException);
new System.IdentityModel.Selectors.IdentityValidationException : string * Exception -> System.IdentityModel.Selectors.IdentityValidationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A string that contains the error message that explains the reason for the exception.

innerException
Exception

The original exception that caused this exception to be thrown.

Applies to