Udostępnij za pośrednictwem


InvalidConfigurationException Constructors

Definition

Overloads

InvalidConfigurationException()

Initializes a new instance of the InvalidConfigurationException class.

InvalidConfigurationException(String)

Initializes a new instance of the InvalidConfigurationException class.

InvalidConfigurationException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidConfigurationException class.

InvalidConfigurationException(String, Exception)

Initializes a new instance of the InvalidConfigurationException class.

InvalidConfigurationException()

Initializes a new instance of the InvalidConfigurationException class.

public InvalidConfigurationException ();
Public Sub New ()

Applies to

InvalidConfigurationException(String)

Initializes a new instance of the InvalidConfigurationException class.

public InvalidConfigurationException (string message);
new Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException : string -> Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException
Public Sub New (message As String)

Parameters

message
String

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

Applies to

InvalidConfigurationException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidConfigurationException class.

protected InvalidConfigurationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException
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

InvalidConfigurationException(String, Exception)

Initializes a new instance of the InvalidConfigurationException class.

public InvalidConfigurationException (string message, Exception innerException);
new Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException : string * Exception -> Microsoft.IdentityModel.Protocols.Configuration.InvalidConfigurationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Additional 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