Class MsgMapiTask
Provides msg mapi task functionality.
Inherited Members
Namespace: DRIT.Mail.Msg
Assembly: DRIT.Mail.dll
Syntax
public class MsgMapiTask : MapiTask
Constructors
View SourceMsgMapiTask(MsgFile)
Initializes a new instance of the MsgMapiTask class.
Declaration
public MsgMapiTask(MsgFile msgFile)
Parameters
| Type | Name | Description |
|---|---|---|
| MsgFile | msgFile | The msg file used by the operation. |
Methods
View SourceCreate(Stream)
Creates a new instance.
Declaration
public static MsgMapiTask Create(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
Returns
| Type | Description |
|---|---|
| MsgMapiTask |
Create(Stream, Encoding)
Creates a new instance.
Declaration
public static MsgMapiTask Create(Stream stream, Encoding encoding)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
| Encoding | encoding | The encoding to use. |
Returns
| Type | Description |
|---|---|
| MsgMapiTask |
Load(Stream)
Loads data from the specified source.
Declaration
public static MsgMapiTask Load(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
Returns
| Type | Description |
|---|---|
| MsgMapiTask |
Load(string)
Loads data from the specified source.
Declaration
public static MsgMapiTask Load(string fileFullName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileFullName | The file full name used by the operation. |
Returns
| Type | Description |
|---|---|
| MsgMapiTask |
Save()
Saves the data to the specified destination.
Declaration
public void Save()