InvalidAsynchronousStateException Konstruktoren

Definition

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse.

Überlädt

InvalidAsynchronousStateException()

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse.

InvalidAsynchronousStateException(String)

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse unter Verwendung der angegebenen detaillierten Beschreibung.

InvalidAsynchronousStateException(SerializationInfo, StreamingContext)
Veraltet.

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

InvalidAsynchronousStateException(String, Exception)

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse mit der angegebenen ausführlichen Beschreibung und der angegebenen Ausnahme.

InvalidAsynchronousStateException()

InvalidAsynchronousStateException(String)

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

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse unter Verwendung 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

Achtung

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

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

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

Parameter

info
SerializationInfo

Die für die Deserialisierung zu verwendende SerializationInfo-Klasse.

context
StreamingContext

Das für die Deserialisierung zu verwendende Ziel.

Attribute

Weitere Informationen

Gilt für:

InvalidAsynchronousStateException(String, Exception)

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

Initialisiert eine neue Instanz der InvalidAsynchronousStateException-Klasse mit der angegebenen ausführlichen 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 dieser Ausnahme zugrunde liegt.

Weitere Informationen

Gilt für: