ChannelClosedException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| ChannelClosedException() |
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse. |
| ChannelClosedException(Exception) |
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse. |
| ChannelClosedException(String) |
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse. |
| ChannelClosedException(SerializationInfo, StreamingContext) |
Verouderd.
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse met geserialiseerde gegevens. |
| ChannelClosedException(String, Exception) |
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse. |
ChannelClosedException()
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse.
public:
ChannelClosedException();
public ChannelClosedException();
Public Sub New ()
Van toepassing op
ChannelClosedException(Exception)
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse.
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)
Parameters
- innerException
- Exception
De uitzondering die de oorzaak van deze uitzondering is.
Van toepassing op
ChannelClosedException(String)
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse.
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)
Parameters
- message
- String
Het bericht waarin de fout wordt beschreven.
Van toepassing op
ChannelClosedException(SerializationInfo, StreamingContext)
Let op
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse met geserialiseerde gegevens.
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)
Parameters
- info
- SerializationInfo
Het object met de geserialiseerde objectgegevens.
- context
- StreamingContext
De contextuele informatie over de bron of bestemming.
- Kenmerken
Van toepassing op
ChannelClosedException(String, Exception)
Initialiseert een nieuw exemplaar van de ChannelClosedException klasse.
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)
Parameters
- message
- String
Het bericht waarin de fout wordt beschreven.
- innerException
- Exception
De uitzondering die de oorzaak van deze uitzondering is.