Click or drag to resize
MimeKit

SmtpProtocolException(SerializationInfo, StreamingContext) Constructor

Note: This API is now obsolete.

Initializes a new instance of the SmtpProtocolException class.

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
[ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
protected SmtpProtocolException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The serialization info.
context  StreamingContext
The streaming context.
Exceptions
ExceptionCondition
ArgumentNullExceptioninfo is null.
Remarks
Creates a new SmtpProtocolException from the serialized data.
See Also