Message Part(String, String) Constructor
Initialize a new instance of the MessagePart class.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected MessagePart(
string mediaType,
string mediaSubtype
)Parameters
Remarks
Initializes the ContentType based on the provided media type and subtype.
Exceptions
| ArgumentNullException |
mediaType is . -or- mediaSubtype is . |