MapiTask.Save
Save(Stream, TaskSaveFormat)
Saves this MapiTask
to the given stream using specified format.
public void Save(Stream stream, TaskSaveFormat saveFormat)
Parameter | Type | Description |
---|
stream | Stream | A stream to save to. |
saveFormat | TaskSaveFormat | A save format. |
Exceptions
exception | condition |
---|
ArgumentNullException | stream is null . |
NotSupportedException | stream does not support writing. |
NotSupportedException | The specified format is not supported. |
See Also
Save(string, TaskSaveFormat)
Saves this MapiTask
into file using specified format.
public void Save(string filePath, TaskSaveFormat saveFormat)
Parameter | Type | Description |
---|
filePath | String | A file name. |
saveFormat | TaskSaveFormat | A save format. |
Exceptions
exception | condition |
---|
ArgumentException | filePath is null or empty . |
NotSupportedException | some save option is not supported |
See Also