AnnotationAttribute Constructor

Initializes a new instance of the AnnotationAttribute class.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public AnnotationAttribute(
	string specifier
)

Parameters

specifier  String
The annotation attribute specifier.

Remarks

Creates a new AnnotationAttribute.

Exceptions

ArgumentNullException specifier is .
ArgumentException

specifier is empty.

-or-

specifier contains illegal characters such as '*', '%', non-ASCII characters or the NUL character.

-or-

specifier contains an empty component (e.g. it begins or ends with '.' or contains "..").

-or-

specifier contains a "priv" or "shared" component other than as the scope suffix.

See Also