Click or drag to resize
MimeKit

SmtpCommandExceptionGetObjectData Method

When overridden in a derived class, sets the SerializationInfo with information about the exception.

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The serialization info.
context  StreamingContext
The streaming context.

Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)
_ExceptionGetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
ArgumentNullExceptioninfo is null.
Remarks
Serializes the state of the SmtpCommandException.
See Also