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