Edit

Share via


CardSpaceException Constructors

Definition

Initializes a new instance of the CardSpaceException class.

Overloads

CardSpaceException()

Initializes a new instance of the CardSpaceException class.

CardSpaceException(String)

Initializes an instance of the CardSpaceException class with the specified error message.

CardSpaceException(SerializationInfo, StreamingContext)

Initializes an instance of the CardSpaceException class with serialized data.

CardSpaceException(String, Exception)

Initializes an instance of the CardSpaceException class with the specified error message and a reference to the inner exception that is the cause of this exception.

CardSpaceException()

Initializes a new instance of the CardSpaceException class.

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

Applies to

CardSpaceException(String)

Initializes an instance of the CardSpaceException class with the specified error message.

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

Parameters

message
String

The message that describes the error.

Applies to

CardSpaceException(SerializationInfo, StreamingContext)

Initializes an instance of the CardSpaceException class with serialized data.

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

Parameters

info
SerializationInfo

The 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

CardSpaceException(String, Exception)

Initializes an instance of the CardSpaceException class with the specified error message and a reference to the inner exception that is the cause of this exception.

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

Parameters

message
String

The message that describes the error.

innerException
Exception

The Exception that represents the cause of the current exception.

Applies to