Click or drag to resize
MimeKit

MimeEntity(String, String) Constructor

Initialize a new instance of the MimeEntity class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected MimeEntity(
	string mediaType,
	string mediaSubtype
)

Parameters

mediaType  String
The media type.
mediaSubtype  String
The media subtype.
Exceptions
ExceptionCondition
ArgumentNullException

mediaType is null.

-or-

mediaSubtype is null.

Remarks
Initializes the ContentType based on the provided media type and subtype.
See Also