ReceivedClause(String, String) Constructor

Initializes a new instance of the ReceivedClause class.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public ReceivedClause(
	string keyword,
	string value
)

Parameters

keyword  String
The keyword that identifies the clause.
value  String
The value associated with the keyword.

Remarks

Creates a new ReceivedClause instance with the specified keyword and value.

Exceptions

ArgumentNullException

keyword is .

-or-

value is .

ArgumentException

keyword is invalid.

See Also