Udostępnij przez


SettingsPropertyWrongTypeException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SettingsPropertyWrongTypeException.

Przeciążenia

SettingsPropertyWrongTypeException()

Inicjuje nowe wystąpienie klasy SettingsPropertyWrongTypeException.

SettingsPropertyWrongTypeException(String)

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanego parametru.

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanych parametrów.

SettingsPropertyWrongTypeException(String, Exception)

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanych parametrów.

SettingsPropertyWrongTypeException()

Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs

Inicjuje nowe wystąpienie klasy SettingsPropertyWrongTypeException.

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

Dotyczy

SettingsPropertyWrongTypeException(String)

Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanego parametru.

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

Parametry

message
String

Ciąg zawierający komunikat o wyjątku.

Dotyczy

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs

Przestroga

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

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanych parametrów.

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)

Parametry

info
SerializationInfo

Obiekt SerializationInfo zawierający dane zserializowanego obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Element StreamingContext zawierający kontekstowe informacje o źródle lub miejscu docelowym serializowanego strumienia.

Atrybuty

Dotyczy

SettingsPropertyWrongTypeException(String, Exception)

Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs
Źródło:
SettingsPropertyWrongTypeException.cs

Inicjuje SettingsPropertyWrongTypeException nowe wystąpienie klasy na podstawie podanych parametrów.

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)

Parametry

message
String

Ciąg zawierający komunikat o wyjątku.

innerException
Exception

Wyjątek będący przyczyną bieżącego wyjątku.

Dotyczy