Click or drag to resize
MimeKit

ProtocolException(SerializationInfo, StreamingContext) Constructor

Note: This API is now obsolete.

Initializes a new instance of the ProtocolException class.

Namespace: MailKit
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 ProtocolException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The serialization info.
context  StreamingContext
The streaming context.
Remarks
Creates a new ProtocolException.
See Also