ChannelClosedException Konstruktorer

Definition

Överlagringar

Name Description
ChannelClosedException()

Initierar en ny instans av ChannelClosedException klassen.

ChannelClosedException(Exception)

Initierar en ny instans av ChannelClosedException klassen.

ChannelClosedException(String)

Initierar en ny instans av ChannelClosedException klassen.

ChannelClosedException(SerializationInfo, StreamingContext)
Föråldrad.

Initierar en ny instans av ChannelClosedException klassen med serialiserade data.

ChannelClosedException(String, Exception)

Initierar en ny instans av ChannelClosedException klassen.

ChannelClosedException()

Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs

Initierar en ny instans av ChannelClosedException klassen.

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

Gäller för

ChannelClosedException(Exception)

Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs

Initierar en ny instans av ChannelClosedException klassen.

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)

Parametrar

innerException
Exception

Undantaget som är orsaken till det här undantaget.

Gäller för

ChannelClosedException(String)

Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs

Initierar en ny instans av ChannelClosedException klassen.

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)

Parametrar

message
String

Meddelandet som beskriver felet.

Gäller för

ChannelClosedException(SerializationInfo, StreamingContext)

Källa:
ChannelClosedException.netstandard21.cs
Källa:
ChannelClosedException.netstandard21.cs
Källa:
ChannelClosedException.netcoreapp.cs
Källa:
ChannelClosedException.netcoreapp.cs
Källa:
ChannelClosedException.netstandard21.cs
Källa:
ChannelClosedException.netcoreapp.cs

Varning

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

Initierar en ny instans av ChannelClosedException klassen med serialiserade data.

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);
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}")>]
new System.Threading.Channels.ChannelClosedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.Channels.ChannelClosedException
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)

Parametrar

info
SerializationInfo

Objektet som innehåller serialiserade objektdata.

context
StreamingContext

Sammanhangsinformation om källan eller målet.

Attribut

Gäller för

ChannelClosedException(String, Exception)

Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs
Källa:
ChannelClosedException.cs

Initierar en ny instans av ChannelClosedException klassen.

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)

Parametrar

message
String

Meddelandet som beskriver felet.

innerException
Exception

Undantaget som är orsaken till det här undantaget.

Gäller för