Body Part Multipart(Content Type, String) Constructor
Initializes a new instance of the BodyPartMultipart class.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public BodyPartMultipart(
ContentType contentType,
string partSpecifier
)Parameters
- contentType ContentType
- The content type.
- partSpecifier String
- The part specifier.
Remarks
Creates a new BodyPartMultipart.
Exceptions
| ArgumentNullException |
contentType is . -or- partSpecifier is . |