InvalidAsynchronousStateException Constructors

Definitie

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse.

Overloads

Name Description
InvalidAsynchronousStateException()

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse.

InvalidAsynchronousStateException(String)

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven gedetailleerde beschrijving.

InvalidAsynchronousStateException(SerializationInfo, StreamingContext)
Verouderd.

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven SerializationInfo en StreamingContext.

InvalidAsynchronousStateException(String, Exception)

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven gedetailleerde beschrijving en de opgegeven uitzondering.

InvalidAsynchronousStateException(String)

Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven gedetailleerde beschrijving.

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)

Parameters

message
String

Een gedetailleerde beschrijving van de fout.

Zie ook

Van toepassing op

InvalidAsynchronousStateException(SerializationInfo, StreamingContext)

Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs

Let op

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

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven SerializationInfo en 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)

Parameters

info
SerializationInfo

De SerializationInfo te gebruiken voor deserialisatie.

context
StreamingContext

De bestemming die moet worden gebruikt voor deserialisatie.

Kenmerken

Zie ook

Van toepassing op

InvalidAsynchronousStateException(String, Exception)

Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs
Bron:
InvalidAsynchronousStateException.cs

Initialiseert een nieuw exemplaar van de InvalidAsynchronousStateException klasse met de opgegeven gedetailleerde beschrijving en de opgegeven uitzondering.

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)

Parameters

message
String

Een gedetailleerde beschrijving van de fout.

innerException
Exception

Een verwijzing naar de interne uitzondering die de oorzaak van deze uitzondering is.

Zie ook

Van toepassing op