Message Part(String, Object) 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#
public MessagePart(
string subtype,
params Object[] args
)Parameters
Remarks
Creates a new MessagePart.
Exceptions
| ArgumentNullException |
subtype is . -or- args is . |
| ArgumentException |
args contains more than one MimeMessage. -or- args contains one or more arguments of an unknown type. |