ChannelClosedException Constructores

Definición

Sobrecargas

ChannelClosedException()

Inicializa una nueva instancia de la clase ChannelClosedException.

ChannelClosedException(Exception)

Inicializa una nueva instancia de la clase ChannelClosedException.

ChannelClosedException(String)

Inicializa una nueva instancia de la clase ChannelClosedException.

ChannelClosedException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la clase ChannelClosedException con datos serializados.

ChannelClosedException(String, Exception)

Inicializa una nueva instancia de la clase ChannelClosedException.

ChannelClosedException()

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

Inicializa una nueva instancia de la clase ChannelClosedException.

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

Se aplica a

ChannelClosedException(Exception)

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

Inicializa una nueva instancia de la clase 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)

Parámetros

innerException
Exception

Excepción que es la causa de esta excepción.

Se aplica a

ChannelClosedException(String)

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe el error.

Se aplica a

ChannelClosedException(SerializationInfo, StreamingContext)

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

Precaución

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

Inicializa una nueva instancia de la clase ChannelClosedException con datos serializados.

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)

Parámetros

info
SerializationInfo

Objeto que contiene los datos del objeto serializados.

context
StreamingContext

Información contextual acerca del origen o del destino.

Atributos

Se aplica a

ChannelClosedException(String, Exception)

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe el error.

innerException
Exception

Excepción que es la causa de esta excepción.

Se aplica a