SettingsPropertyWrongTypeException Constructors

Definition

Initializes a new instance of the SettingsPropertyWrongTypeException class.

Overloads

Name Description
SettingsPropertyWrongTypeException()

Initializes a new instance of the SettingsPropertyWrongTypeException class.

SettingsPropertyWrongTypeException(String)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameter.

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameters.

SettingsPropertyWrongTypeException(String, Exception)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameters.

SettingsPropertyWrongTypeException()

Initializes a new instance of the SettingsPropertyWrongTypeException class.

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

Applies to

SettingsPropertyWrongTypeException(String)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameter.

public:
 SettingsPropertyWrongTypeException(System::String ^ message);
public SettingsPropertyWrongTypeException(string message);
new System.Configuration.SettingsPropertyWrongTypeException : string -> System.Configuration.SettingsPropertyWrongTypeException
Public Sub New (message As String)

Parameters

message
String

A string containing an exception message.

Applies to

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameters.

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

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Applies to

SettingsPropertyWrongTypeException(String, Exception)

Initializes a new instance of the SettingsPropertyWrongTypeException class based on the supplied parameters.

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

Parameters

message
String

A string containing an exception message.

innerException
Exception

The exception that is the cause of the current exception.

Applies to