CommunicationException 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.
Initialiseert een nieuw exemplaar van de CommunicationException klasse.
Overloads
| Name | Description |
|---|---|
| CommunicationException() |
Initialiseert een nieuw exemplaar van de CommunicationException klasse. |
| CommunicationException(String) |
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van het opgegeven bericht. |
| CommunicationException(SerializationInfo, StreamingContext) |
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van de opgegeven serialisatie-informatie en contextobjecten. |
| CommunicationException(String, Exception) |
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van het opgegeven bericht en de binnenste uitzondering. |
CommunicationException()
Initialiseert een nieuw exemplaar van de CommunicationException klasse.
public:
CommunicationException();
public CommunicationException();
Public Sub New ()
Van toepassing op
CommunicationException(String)
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van het opgegeven bericht.
public:
CommunicationException(System::String ^ message);
public CommunicationException(string message);
new System.ServiceModel.CommunicationException : string -> System.ServiceModel.CommunicationException
Public Sub New (message As String)
Parameters
- message
- String
De beschrijving van de foutvoorwaarde.
Van toepassing op
CommunicationException(SerializationInfo, StreamingContext)
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van de opgegeven serialisatie-informatie en contextobjecten.
protected:
CommunicationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CommunicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.CommunicationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.CommunicationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Informatie die relevant is voor het deserialisatieproces.
- context
- StreamingContext
De context van het deserialisatieproces.
Van toepassing op
CommunicationException(String, Exception)
Initialiseert een nieuw exemplaar van de CommunicationException klasse met behulp van het opgegeven bericht en de binnenste uitzondering.
public:
CommunicationException(System::String ^ message, Exception ^ innerException);
public CommunicationException(string message, Exception innerException);
new System.ServiceModel.CommunicationException : string * Exception -> System.ServiceModel.CommunicationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
De beschrijving van de foutvoorwaarde.
- innerException
- Exception
De binnenste uitzondering die moet worden gebruikt.