Skip to main content Skip to complementary content

CommunicationErrorException Constructor

Overloads

CommunicationErrorException()

Initializes a new instance of the CommunicationErrorException class.

CommunicationErrorException(String)

Initializes a new instance of the CommunicationErrorException class with a specified error message.

CommunicationErrorException(String, Exception)

Initializes a new instance of the CommunicationErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception.

CommunicationErrorException()

Initializes a new instance of the CommunicationErrorException class.

Declaration

      public CommunicationErrorException()
    

CommunicationErrorException(String)

Initializes a new instance of the CommunicationErrorException class with a specified error message.

Declaration

      public CommunicationErrorException(string message)
    

Parameters

Type Name Description
System.String message

The error message that explains the reason for the exception.

CommunicationErrorException(String, Exception)

Initializes a new instance of the CommunicationErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration

      public CommunicationErrorException(string message, Exception innerException)
    

Parameters

Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The exception that is the cause of the current exception. Null refence if no inner exception is specified.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!