ChannelClosedException Konstruktory

Definicja

Przeciążenia

ChannelClosedException()

Inicjuje nowe wystąpienie klasy ChannelClosedException.

ChannelClosedException(Exception)

Inicjuje nowe wystąpienie klasy ChannelClosedException.

ChannelClosedException(String)

Inicjuje nowe wystąpienie klasy ChannelClosedException.

ChannelClosedException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy ChannelClosedException z zserializowanymi danymi.

ChannelClosedException(String, Exception)

Inicjuje nowe wystąpienie klasy ChannelClosedException.

ChannelClosedException()

Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs

Inicjuje nowe wystąpienie klasy ChannelClosedException.

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

Dotyczy

ChannelClosedException(Exception)

Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs

Inicjuje nowe wystąpienie klasy ChannelClosedException.

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

Wyjątek, który jest przyczyną tego wyjątku.

Dotyczy

ChannelClosedException(String)

Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs

Inicjuje nowe wystąpienie klasy ChannelClosedException.

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

Komunikat z opisem błędu.

Dotyczy

ChannelClosedException(SerializationInfo, StreamingContext)

Źródło:
ChannelClosedException.netcoreapp.cs
Źródło:
ChannelClosedException.netcoreapp.cs
Źródło:
ChannelClosedException.netcoreapp.cs

Przestroga

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

Inicjuje nowe wystąpienie klasy ChannelClosedException z zserializowanymi danymi.

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

Obiekt zawierający dane serializowanego obiektu.

context
StreamingContext

Informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Atrybuty

Dotyczy

ChannelClosedException(String, Exception)

Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs
Źródło:
ChannelClosedException.cs

Inicjuje nowe wystąpienie klasy ChannelClosedException.

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

Komunikat z opisem błędu.

innerException
Exception

Wyjątek, który jest przyczyną tego wyjątku.

Dotyczy