Bagikan melalui


SettingsPropertyIsReadOnlyException Konstruktor

Definisi

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()

Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs

Menginisialisasi instans baru kelas SettingsPropertyIsReadOnlyException.

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

Berlaku untuk

SettingsPropertyIsReadOnlyException(String)

Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs

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)

Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs

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)

Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs
Sumber:
SettingsPropertyIsReadOnlyException.cs

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.

Berlaku untuk