Aspose::Email::Clients::Details_NetworkException Class Reference

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

Inherits Details_Exception.

Protected Member Functions

void DoThrow (const System::ExceptionPtr &self) const override
 
 Details_NetworkException ()
 Initializes a new instance of the NetworkException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_NetworkException, CODEPORTING_ARGS())
 
 Details_NetworkException (System::String message)
 Initializes a new instance of the NetworkException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_NetworkException, CODEPORTING_ARGS(System::String message))
 
 Details_NetworkException (System::SharedPtr< System::Runtime::Serialization::SerializationInfo > info, System::Runtime::Serialization::StreamingContext context)
 Initializes a new instance of the NetworkException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_NetworkException, CODEPORTING_ARGS(System::SharedPtr< System::Runtime::Serialization::SerializationInfo > info, System::Runtime::Serialization::StreamingContext context))
 
 Details_NetworkException (System::String message, System::Exception inner)
 Initializes a new instance of the NetworkException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_NetworkException, CODEPORTING_ARGS(System::String message, System::Exception inner))
 

Detailed Description

Thrown if there is a network connection failure.

Constructor & Destructor Documentation

◆ Details_NetworkException() [1/4]

Aspose::Email::Clients::Details_NetworkException::Details_NetworkException ( )
protected

Initializes a new instance of the NetworkException class.

◆ Details_NetworkException() [2/4]

Aspose::Email::Clients::Details_NetworkException::Details_NetworkException ( System::String  message)
protected

Initializes a new instance of the NetworkException class.

Parameters
messageThe error message.

◆ Details_NetworkException() [3/4]

Aspose::Email::Clients::Details_NetworkException::Details_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).

◆ Details_NetworkException() [4/4]

Aspose::Email::Clients::Details_NetworkException::Details_NetworkException ( System::String  message,
System::Exception  inner 
)
protected

Initializes a new instance of the NetworkException class.

Parameters
messageThe error message.
innerThe inner exception.

Member Function Documentation

◆ DoThrow()

void Aspose::Email::Clients::Details_NetworkException::DoThrow ( const System::ExceptionPtr &  self) const
overrideprotected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/4]

Aspose::Email::Clients::Details_NetworkException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_NetworkException  ,
CODEPORTING_ARGS()   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/4]

Aspose::Email::Clients::Details_NetworkException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_NetworkException  ,
CODEPORTING_ARGS(System::SharedPtr< System::Runtime::Serialization::SerializationInfo > info, System::Runtime::Serialization::StreamingContext context)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/4]

Aspose::Email::Clients::Details_NetworkException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_NetworkException  ,
CODEPORTING_ARGS(System::String message)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [4/4]

Aspose::Email::Clients::Details_NetworkException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_NetworkException  ,
CODEPORTING_ARGS(System::String message, System::Exception inner)   
)
protected