InvalidAsynchronousStateException Konstruktoren

Definition

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse.

Überlädt

Name Beschreibung
InvalidAsynchronousStateException()

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse.

InvalidAsynchronousStateException(String)

Initialisiert eine neue Instanz der InvalidAsynchronousStateException Klasse mit der angegebenen detaillierten Beschreibung.

InvalidAsynchronousStateException(SerializationInfo, StreamingContext)
Veraltet.

Initialisiert eine neue Instanz der Klasse mit dem InvalidAsynchronousStateException angegebenen SerializationInfo und StreamingContext.

InvalidAsynchronousStateException(String, Exception)

Initialisiert eine neue Instanz der InvalidAsynchronousStateException Klasse mit der angegebenen detaillierten Beschreibung und der angegebenen Ausnahme.

InvalidAsynchronousStateException()

InvalidAsynchronousStateException(String)

Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs

Initialisiert eine neue Instanz der InvalidAsynchronousStateException Klasse mit der angegebenen detaillierten Beschreibung.

public:
 InvalidAsynchronousStateException(System::String ^ message);
public InvalidAsynchronousStateException(string? message);
public InvalidAsynchronousStateException(string message);
new System.ComponentModel.InvalidAsynchronousStateException : string -> System.ComponentModel.InvalidAsynchronousStateException
Public Sub New (message As String)

Parameter

message
String

Eine detaillierte Beschreibung des Fehlers.

Weitere Informationen

Gilt für:

InvalidAsynchronousStateException(SerializationInfo, StreamingContext)

Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs

Achtung

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

Initialisiert eine neue Instanz der Klasse mit dem InvalidAsynchronousStateException angegebenen SerializationInfo und StreamingContext.

protected:
 InvalidAsynchronousStateException(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 InvalidAsynchronousStateException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected InvalidAsynchronousStateException(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}")>]
new System.ComponentModel.InvalidAsynchronousStateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.InvalidAsynchronousStateException
new System.ComponentModel.InvalidAsynchronousStateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.InvalidAsynchronousStateException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Der SerializationInfo für die Deserialisierung zu verwendende

context
StreamingContext

Das Ziel, das für die Deserialisierung verwendet werden soll.

Attribute

Weitere Informationen

Gilt für:

InvalidAsynchronousStateException(String, Exception)

Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs
Quelle:
InvalidAsynchronousStateException.cs

Initialisiert eine neue Instanz der InvalidAsynchronousStateException Klasse mit der angegebenen detaillierten Beschreibung und der angegebenen Ausnahme.

public:
 InvalidAsynchronousStateException(System::String ^ message, Exception ^ innerException);
public InvalidAsynchronousStateException(string? message, Exception? innerException);
public InvalidAsynchronousStateException(string message, Exception innerException);
new System.ComponentModel.InvalidAsynchronousStateException : string * Exception -> System.ComponentModel.InvalidAsynchronousStateException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Eine detaillierte Beschreibung des Fehlers.

innerException
Exception

Ein Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist.

Weitere Informationen

Gilt für: