Bagikan melalui


SettingsPropertyWrongTypeException Konstruktor

Definisi

Menginisialisasi instans baru kelas SettingsPropertyWrongTypeException.

Overload

SettingsPropertyWrongTypeException()

Menginisialisasi instans baru kelas SettingsPropertyWrongTypeException.

SettingsPropertyWrongTypeException(String)

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

SettingsPropertyWrongTypeException(String, Exception)

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

SettingsPropertyWrongTypeException()

Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs

Menginisialisasi instans baru kelas SettingsPropertyWrongTypeException.

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

Berlaku untuk

SettingsPropertyWrongTypeException(String)

Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

public:
 SettingsPropertyWrongTypeException(System::String ^ message);
public SettingsPropertyWrongTypeException (string message);
new System.Configuration.SettingsPropertyWrongTypeException : string -> System.Configuration.SettingsPropertyWrongTypeException
Public Sub New (message As String)

Parameter

message
String

String yang berisi pesan pengecualian.

Berlaku untuk

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs

Perhatian

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

protected:
 SettingsPropertyWrongTypeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyWrongTypeException (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 SettingsPropertyWrongTypeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.SettingsPropertyWrongTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyWrongTypeException
[<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.SettingsPropertyWrongTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyWrongTypeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

SerializationInfo yang menyimpan data objek berseri tentang pengecualian yang dilemparkan.

context
StreamingContext

StreamingContext yang berisi informasi kontekstual tentang sumber atau tujuan aliran yang diserialisasikan.

Atribut

Berlaku untuk

SettingsPropertyWrongTypeException(String, Exception)

Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs
Sumber:
SettingsPropertyWrongTypeException.cs

Menginisialisasi instans SettingsPropertyWrongTypeException baru kelas berdasarkan parameter yang disediakan.

public:
 SettingsPropertyWrongTypeException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyWrongTypeException (string message, Exception innerException);
new System.Configuration.SettingsPropertyWrongTypeException : string * Exception -> System.Configuration.SettingsPropertyWrongTypeException
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