Body Part Multipart(Content Type, String, Body Part Collection) 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,
BodyPartCollection bodyParts
)Parameters
- contentType ContentType
- The content type.
- partSpecifier String
- The part specifier.
- bodyParts BodyPartCollection
- The child body parts of the multipart.
Remarks
Creates a new BodyPartMultipart.
Exceptions
| ArgumentNullException |
contentType is . -or- partSpecifier is . -or- bodyParts is . |