SettingsPropertyNotFoundException 构造函数

定义

初始化 SettingsPropertyNotFoundException 类的新实例。

重载

SettingsPropertyNotFoundException()

初始化 SettingsPropertyNotFoundException 类的新实例。

SettingsPropertyNotFoundException(String)

使用所提供的参数初始化 SettingsPropertyNotFoundException 类的新实例。

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
已过时.

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

SettingsPropertyNotFoundException(String, Exception)

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

SettingsPropertyNotFoundException()

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

初始化 SettingsPropertyNotFoundException 类的新实例。

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

适用于

SettingsPropertyNotFoundException(String)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

使用所提供的参数初始化 SettingsPropertyNotFoundException 类的新实例。

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

参数

message
String

包含异常消息的字符串。

适用于

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

注意

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

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

protected:
 SettingsPropertyNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyNotFoundException (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 SettingsPropertyNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
[<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.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

存放有关所引发异常的序列化对象数据的 SerializationInfo 对象。

context
StreamingContext

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

属性

适用于

SettingsPropertyNotFoundException(String, Exception)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

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

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

参数

message
String

包含异常消息的字符串。

innerException
Exception

导致当前异常的异常。

适用于