MessageObject.MessageObject
Contents
[
Hide
]MessageObject(Stream, MessageObjectLoadFormat)
Initializes a new instance of the MessageObject
class.
public MessageObject(Stream stream, MessageObjectLoadFormat loadFormat)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream to initialize this object from. |
loadFormat | MessageObjectLoadFormat | The source format message object is stored with. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | If given stream is null. |
ArgumentOutOfRangeException | If specified loadFormat is not supported. |
See Also
- enum MessageObjectLoadFormat
- class MessageObject
- namespace Aspose.Email.Mapi.Msg
- assembly Aspose.Email
MessageObject(string, MessageObjectLoadFormat)
Initializes a new instance of the MessageObject
class.
public MessageObject(string fileName, MessageObjectLoadFormat loadFormat)
Parameter | Type | Description |
---|---|---|
fileName | String | Name of the file to read from. |
loadFormat | MessageObjectLoadFormat | The source format message object is stored with. |
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException | If specified loadFormat is not supported. |
Remarks
In addition same set of exceptions could be thrown as for the FileMode) call.
See Also
- enum MessageObjectLoadFormat
- class MessageObject
- namespace Aspose.Email.Mapi.Msg
- assembly Aspose.Email