MessageObject Constructor (Stream, MessageObjectLoadFormat)

Initializes a new instance of the MessageObject class.

Namespace:  Aspose.Email.Mapi.Msg
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public MessageObject(
	Stream stream,
	MessageObjectLoadFormat loadFormat
)

Parameters

stream
Type: System.IOStream
The stream to initialize this object from.
loadFormat
Type: Aspose.Email.Mapi.MsgMessageObjectLoadFormat
The source format message object is stored with.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf given stream is null.
ArgumentOutOfRangeExceptionIf specified loadFormat is not supported.
See Also