GetObjectData
MailMessage.GetObjectData method
Populates a SerializationInfo with the data needed to serialize the target object.
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameter |
Type |
Description |
info |
SerializationInfo |
The SerializationInfo to populate with data. |
context |
StreamingContext |
The destination (see StreamingContext) for this serialization. |
Exceptions
exception |
condition |
SecurityException |
The caller does not have the required permission. |
See Also