語言

SettingsPropertyNotFoundException 建構函式

定義

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

多載

名稱 Description
SettingsPropertyNotFoundException()

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

SettingsPropertyNotFoundException(String)

根據所提供的參數初始化該 SettingsPropertyNotFoundException 類別的新實例。

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
已淘汰.

根據所提供的參數初始化類別的新實例 SettingsPropertyNotFoundException 。

SettingsPropertyNotFoundException(String, Exception)

根據所提供的參數初始化類別的新實例 SettingsPropertyNotFoundException 。

SettingsPropertyNotFoundException()

SettingsPropertyNotFoundException(String)

來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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);
[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);
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}")>]
new System.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
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.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
SettingsPropertyNotFoundException.cs
來源:
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

該例外即為當前例外的原因。

適用於