Click or drag to resize
MimeKit

MessagePart(String, Object) Constructor

Initialize a new instance of the MessagePart class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public MessagePart(
	string subtype,
	params Object[] args
)

Parameters

subtype  String
The message subtype.
args  Object
An array of initialization parameters: headers and message parts.
Exceptions
ExceptionCondition
ArgumentNullException

subtype is null.

-or-

args is null.

ArgumentException

args contains more than one MimeMessage.

-or-

args contains one or more arguments of an unknown type.

Remarks
Creates a new MessagePart.
See Also