Mime Part(String, String) Constructor
Initialize a new instance of the MimePart class
with the specified media type and subtype.
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#
public MimePart(
string mediaType,
string mediaSubtype
)Parameters
Remarks
Creates a new MimePart with the specified media type and subtype.
Exceptions
| ArgumentNullException |
mediaType is . -or- mediaSubtype is . |