MapiTaskSave Method (Stream, TaskSaveFormat)

Saves this MapiTask to the given stream using specified format.

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public void Save(
	Stream stream,
	TaskSaveFormat saveFormat
)

Parameters

stream
Type: System.IOStream
A stream to save to.
saveFormat
Type: Aspose.Email.MapiTaskSaveFormat
A save format.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
NotSupportedExceptionstream does not support writing.
NotSupportedExceptionThe specified format is not supported.
See Also