Bagikan melalui


ChannelClosedException Konstruktor

Definisi

Overload

ChannelClosedException()

Menginisialisasi instans baru kelas ChannelClosedException.

ChannelClosedException(Exception)

Menginisialisasi instans baru kelas ChannelClosedException.

ChannelClosedException(String)

Menginisialisasi instans baru kelas ChannelClosedException.

ChannelClosedException(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans ChannelClosedException baru kelas dengan data berseri.

ChannelClosedException(String, Exception)

Menginisialisasi instans baru kelas ChannelClosedException.

ChannelClosedException()

Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs

Menginisialisasi instans baru kelas ChannelClosedException.

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

Berlaku untuk

ChannelClosedException(Exception)

Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs

Menginisialisasi instans baru kelas 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)

Parameter

innerException
Exception

Pengecualian yang merupakan penyebab pengecualian ini.

Berlaku untuk

ChannelClosedException(String)

Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs

Menginisialisasi instans baru kelas 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)

Parameter

message
String

Pesan yang menjelaskan kesalahan.

Berlaku untuk

ChannelClosedException(SerializationInfo, StreamingContext)

Sumber:
ChannelClosedException.netcoreapp.cs
Sumber:
ChannelClosedException.netcoreapp.cs
Sumber:
ChannelClosedException.netcoreapp.cs
Sumber:
ChannelClosedException.netcoreapp.cs

Perhatian

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

Menginisialisasi instans ChannelClosedException baru kelas dengan data berseri.

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

Objek yang menyimpan data objek berseri.

context
StreamingContext

Informasi kontekstual tentang sumber atau tujuan.

Atribut

Berlaku untuk

ChannelClosedException(String, Exception)

Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs
Sumber:
ChannelClosedException.cs

Menginisialisasi instans baru kelas 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)

Parameter

message
String

Pesan yang menjelaskan kesalahan.

innerException
Exception

Pengecualian yang merupakan penyebab pengecualian ini.

Berlaku untuk