Partager via


ChannelClosedException Constructeurs

Définition

Surcharges

ChannelClosedException()

Initialise une nouvelle instance de la classe ChannelClosedException.

ChannelClosedException(Exception)

Initialise une nouvelle instance de la classe ChannelClosedException.

ChannelClosedException(String)

Initialise une nouvelle instance de la classe ChannelClosedException.

ChannelClosedException(SerializationInfo, StreamingContext)
Obsolète.

Initialise une nouvelle instance de la classe ChannelClosedException avec des données sérialisées.

ChannelClosedException(String, Exception)

Initialise une nouvelle instance de la classe ChannelClosedException.

ChannelClosedException()

Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs

Initialise une nouvelle instance de la classe ChannelClosedException.

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

S’applique à

ChannelClosedException(Exception)

Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs

Initialise une nouvelle instance de la classe 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)

Paramètres

innerException
Exception

Exception à l'origine de cette exception.

S’applique à

ChannelClosedException(String)

Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs

Initialise une nouvelle instance de la classe 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)

Paramètres

message
String

Message décrivant l'erreur.

S’applique à

ChannelClosedException(SerializationInfo, StreamingContext)

Source:
ChannelClosedException.netcoreapp.cs
Source:
ChannelClosedException.netcoreapp.cs
Source:
ChannelClosedException.netcoreapp.cs

Attention

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

Initialise une nouvelle instance de la classe ChannelClosedException avec des données sérialisées.

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)

Paramètres

info
SerializationInfo

Objet qui contient les données sérialisées de l'objet.

context
StreamingContext

Informations contextuelles sur la source ou la destination.

Attributs

S’applique à

ChannelClosedException(String, Exception)

Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs
Source:
ChannelClosedException.cs

Initialise une nouvelle instance de la classe 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)

Paramètres

message
String

Message décrivant l'erreur.

innerException
Exception

Exception à l'origine de cette exception.

S’applique à