Sdílet prostřednictvím


ChannelClosedException Konstruktory

Definice

Přetížení

ChannelClosedException()

Inicializuje novou instanci ChannelClosedException třídy .

ChannelClosedException(Exception)

Inicializuje novou instanci ChannelClosedException třídy .

ChannelClosedException(String)

Inicializuje novou instanci ChannelClosedException třídy .

ChannelClosedException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci třídy ChannelClosedException se serializovanými daty.

ChannelClosedException(String, Exception)

Inicializuje novou instanci ChannelClosedException třídy .

ChannelClosedException()

Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs

Inicializuje novou instanci ChannelClosedException třídy .

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

Platí pro

ChannelClosedException(Exception)

Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs

Inicializuje novou instanci ChannelClosedException třídy .

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)

Parametry

innerException
Exception

Výjimka, která je příčinou této výjimky.

Platí pro

ChannelClosedException(String)

Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs

Inicializuje novou instanci ChannelClosedException třídy .

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)

Parametry

message
String

Zpráva popisující chybu

Platí pro

ChannelClosedException(SerializationInfo, StreamingContext)

Zdroj:
ChannelClosedException.netcoreapp.cs
Zdroj:
ChannelClosedException.netcoreapp.cs
Zdroj:
ChannelClosedException.netcoreapp.cs

Upozornění

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

Inicializuje novou instanci třídy ChannelClosedException se serializovanými daty.

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)

Parametry

info
SerializationInfo

Objekt, který uchovává serializovaná data objektu.

context
StreamingContext

Kontextové informace o zdroji nebo cíli

Atributy

Platí pro

ChannelClosedException(String, Exception)

Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs
Zdroj:
ChannelClosedException.cs

Inicializuje novou instanci ChannelClosedException třídy .

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)

Parametry

message
String

Zpráva popisující chybu

innerException
Exception

Výjimka, která je příčinou této výjimky.

Platí pro