Aspose::Email::Clients::NetworkException Class Reference

Thrown if there is a network connection failure. More...

Inherits Exception.

Public Member Functions

virtual ASPOSE_EMAIL_SHARED_API ~NetworkException ()
 
ASPOSE_EMAIL_SHARED_API NetworkException ()
 Initializes a new instance of the NetworkException class. More...
 
ASPOSE_EMAIL_SHARED_API NetworkException (std::nullptr_t)
 
ASPOSE_EMAIL_SHARED_API NetworkException (System::String message)
 Initializes a new instance of the NetworkException class. More...
 
ASPOSE_EMAIL_SHARED_API NetworkException (System::String message, System::Exception inner)
 Initializes a new instance of the NetworkException class. More...
 

Protected Member Functions

ASPOSE_EMAIL_SHARED_API NetworkException (System::SharedPtr< System::Runtime::Serialization::SerializationInfo > info, System::Runtime::Serialization::StreamingContext context)
 Initializes a new instance of the NetworkException class. More...
 

Detailed Description

Thrown if there is a network connection failure.

Constructor & Destructor Documentation

◆ ~NetworkException()

virtual ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::~NetworkException ( )
virtual

◆ NetworkException() [1/5]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::NetworkException ( )

Initializes a new instance of the NetworkException class.

◆ NetworkException() [2/5]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::NetworkException ( std::nullptr_t  )

◆ NetworkException() [3/5]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::NetworkException ( System::String  message)

Initializes a new instance of the NetworkException class.

Parameters
messageThe error message.

◆ NetworkException() [4/5]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::NetworkException ( System::String  message,
System::Exception  inner 
)

Initializes a new instance of the NetworkException class.

Parameters
messageThe error message.
innerThe inner exception.

◆ NetworkException() [5/5]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::NetworkException::NetworkException ( System::SharedPtr< System::Runtime::Serialization::SerializationInfo >  info,
System::Runtime::Serialization::StreamingContext  context 
)
protected

Initializes a new instance of the NetworkException class.

Parameters
infoThe T:System::Runtime::Serialization::SerializationInfo that holds the serialized object data about the exception being thrown.
contextThe T:System::Runtime::Serialization::StreamingContext that contains contextual information about the source or destination.
Exceptions
T:System::ArgumentNullExceptionThe info parameter is null.
T:System::Runtime::Serialization::SerializationExceptionThe class name is null or P:System::Exception::HResult is zero (0).