Click or drag to resize

MultipartEntity Constructor (String, IEnumerableEntity)

Initializes a new instance of the MultipartEntity class with specified media subtype and collection of child entities.

Namespace:  GemBox.Email.Mime
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1019
Syntax
public MultipartEntity(
	string mediaSubtype,
	IEnumerable<Entity> items
)

Parameters

mediaSubtype
Type: SystemString
The media subtype.
items
Type: System.Collections.GenericIEnumerableEntity
The collection of child entities.
Exceptions
ExceptionCondition
ArgumentNullException Child collection is null.
ArgumentException Child collection contains null elements.
See Also