MailException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the MailException class.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
protected MailException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe info parameter is null.
SerializationExceptionThe class name is null or HResult is zero (0).
See Also