SettingsPropertyIsReadOnlyException 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.
Membuat instans SettingsPropertyIsReadOnlyException baru kelas .
Overload
SettingsPropertyIsReadOnlyException() |
Menginisialisasi instans baru kelas SettingsPropertyIsReadOnlyException. |
SettingsPropertyIsReadOnlyException(String) |
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan. |
SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext) |
Kedaluwarsa.
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan. |
SettingsPropertyIsReadOnlyException(String, Exception) |
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan. |
SettingsPropertyIsReadOnlyException()
Menginisialisasi instans baru kelas SettingsPropertyIsReadOnlyException.
public:
SettingsPropertyIsReadOnlyException();
public SettingsPropertyIsReadOnlyException ();
Public Sub New ()
Berlaku untuk
SettingsPropertyIsReadOnlyException(String)
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan.
public:
SettingsPropertyIsReadOnlyException(System::String ^ message);
public SettingsPropertyIsReadOnlyException (string message);
new System.Configuration.SettingsPropertyIsReadOnlyException : string -> System.Configuration.SettingsPropertyIsReadOnlyException
Public Sub New (message As String)
Parameter
- message
- String
String yang berisi pesan pengecualian.
Berlaku untuk
SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext)
Perhatian
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan.
protected:
SettingsPropertyIsReadOnlyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyIsReadOnlyException (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 SettingsPropertyIsReadOnlyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.SettingsPropertyIsReadOnlyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyIsReadOnlyException
[<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.SettingsPropertyIsReadOnlyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyIsReadOnlyException
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
SettingsPropertyIsReadOnlyException(String, Exception)
Menginisialisasi instans SettingsPropertyIsReadOnlyException baru kelas berdasarkan parameter yang disediakan.
public:
SettingsPropertyIsReadOnlyException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyIsReadOnlyException (string message, Exception innerException);
new System.Configuration.SettingsPropertyIsReadOnlyException : string * Exception -> System.Configuration.SettingsPropertyIsReadOnlyException
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.