SettingsPropertyNotFoundException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru kelas SettingsPropertyNotFoundException.
Overload
SettingsPropertyNotFoundException() |
Menginisialisasi instans baru kelas SettingsPropertyNotFoundException. |
SettingsPropertyNotFoundException(String) |
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan. |
SettingsPropertyNotFoundException(SerializationInfo, StreamingContext) |
Kedaluwarsa.
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan. |
SettingsPropertyNotFoundException(String, Exception) |
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan. |
SettingsPropertyNotFoundException()
Menginisialisasi instans baru kelas SettingsPropertyNotFoundException.
public:
SettingsPropertyNotFoundException();
public SettingsPropertyNotFoundException ();
Public Sub New ()
Berlaku untuk
SettingsPropertyNotFoundException(String)
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan.
public:
SettingsPropertyNotFoundException(System::String ^ message);
public SettingsPropertyNotFoundException (string message);
new System.Configuration.SettingsPropertyNotFoundException : string -> System.Configuration.SettingsPropertyNotFoundException
Public Sub New (message As String)
Parameter
- message
- String
String yang berisi pesan pengecualian.
Berlaku untuk
SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
Perhatian
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan.
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)
Parameter
- info
- SerializationInfo
Objek SerializationInfo yang menyimpan data objek berseri tentang pengecualian yang dilemparkan.
- context
- StreamingContext
Objek StreamingContext yang berisi informasi kontekstual tentang sumber atau tujuan aliran yang diserialisasikan.
- Atribut
Berlaku untuk
SettingsPropertyNotFoundException(String, Exception)
Menginisialisasi instans SettingsPropertyNotFoundException baru kelas, berdasarkan parameter yang disediakan.
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)
Parameter
- message
- String
String yang berisi pesan pengecualian.
- innerException
- Exception
Pengecualian yang merupakan penyebab pengecualian saat ini.