Click or drag to resize
MimeKit

AuthenticationException(SerializationInfo, StreamingContext) Constructor

Note: This API is now obsolete.

Initializes a new instance of the AuthenticationException class.

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

Parameters

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