共用方式為


SettingsPropertyNotFoundException 建構函式

定義

初始化 SettingsPropertyNotFoundException 類別的新執行個體。

多載

SettingsPropertyNotFoundException()

初始化 SettingsPropertyNotFoundException 類別的新執行個體。

SettingsPropertyNotFoundException(String)

根據提供的參數,初始化 SettingsPropertyNotFoundException 類別的新執行個體。

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
已淘汰.

根據提供的參數,初始化 SettingsPropertyNotFoundException 類別的新執行個體。

SettingsPropertyNotFoundException(String, Exception)

根據提供的參數,初始化 SettingsPropertyNotFoundException 類別的新執行個體。

SettingsPropertyNotFoundException()

來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs

初始化 SettingsPropertyNotFoundException 類別的新執行個體。

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

適用於

SettingsPropertyNotFoundException(String)

來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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)

來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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)

來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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

做為目前例外狀況發生原因的例外狀況。

適用於