MailMessageGetObjectData Method
Populates a SerializationInfo with the data needed to serialize the target object.

Namespace: Aspose.Email
Assembly: Aspose.Email (in Aspose.Email.dll) Version: 20.1
Syntax
public virtual void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.SerializationStreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
SecurityException The caller does not have the required permission.
See Also