SettingsPropertyWrongTypeException 构造函数

定义

初始化 SettingsPropertyWrongTypeException 类的新实例。

重载

SettingsPropertyWrongTypeException()

初始化 SettingsPropertyWrongTypeException 类的新实例。

SettingsPropertyWrongTypeException(String)

根据提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
已过时.

基于所提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

SettingsPropertyWrongTypeException(String, Exception)

基于所提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

SettingsPropertyWrongTypeException()

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

初始化 SettingsPropertyWrongTypeException 类的新实例。

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

适用于

SettingsPropertyWrongTypeException(String)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

根据提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

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

参数

message
String

包含异常消息的字符串。

适用于

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

注意

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

基于所提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

protected:
 SettingsPropertyWrongTypeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyWrongTypeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Configuration.SettingsPropertyWrongTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyWrongTypeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含有关所引发异常的序列化对象数据的 SerializationInfo

context
StreamingContext

StreamingContext 包含有关序列化流的源或目标的上下文信息。

属性

适用于

SettingsPropertyWrongTypeException(String, Exception)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

基于所提供的参数初始化 SettingsPropertyWrongTypeException 类的新实例。

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)

参数

message
String

包含异常消息的字符串。

innerException
Exception

导致当前异常的异常。

适用于