ChannelClosedException Konstruktoren

Definition

Überlädt

ChannelClosedException()

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

ChannelClosedException(Exception)

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

ChannelClosedException(String)

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

ChannelClosedException(SerializationInfo, StreamingContext)
Veraltet.

Initialisiert eine neue Instanz der ChannelClosedException-Klasse mit serialisierten Daten.

ChannelClosedException(String, Exception)

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

ChannelClosedException()

Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

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

Gilt für:

ChannelClosedException(Exception)

Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

public:
 ChannelClosedException(Exception ^ innerException);
public ChannelClosedException (Exception innerException);
public ChannelClosedException (Exception? innerException);
new System.Threading.Channels.ChannelClosedException : Exception -> System.Threading.Channels.ChannelClosedException
Public Sub New (innerException As Exception)

Parameter

innerException
Exception

Die Ausnahme, die diese Ausnahme verursacht hat.

Gilt für:

ChannelClosedException(String)

Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

public:
 ChannelClosedException(System::String ^ message);
public ChannelClosedException (string message);
public ChannelClosedException (string? message);
new System.Threading.Channels.ChannelClosedException : string -> System.Threading.Channels.ChannelClosedException
Public Sub New (message As String)

Parameter

message
String

Die Meldung, in der der Fehler beschrieben wird.

Gilt für:

ChannelClosedException(SerializationInfo, StreamingContext)

Quelle:
ChannelClosedException.netcoreapp.cs
Quelle:
ChannelClosedException.netcoreapp.cs
Quelle:
ChannelClosedException.netcoreapp.cs

Achtung

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

Initialisiert eine neue Instanz der ChannelClosedException-Klasse mit serialisierten Daten.

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

Parameter

info
SerializationInfo

Das Objekt, das die Daten des serialisierten Objekts enthält.

context
StreamingContext

Die Kontextinformationen zur Quelle bzw. zum Ziel.

Attribute

Gilt für:

ChannelClosedException(String, Exception)

Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs
Quelle:
ChannelClosedException.cs

Initialisiert eine neue Instanz der ChannelClosedException-Klasse.

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

Parameter

message
String

Die Meldung, in der der Fehler beschrieben wird.

innerException
Exception

Die Ausnahme, die diese Ausnahme verursacht hat.

Gilt für: