MapiTask.FromVTodoAsync
Contents
[
Hide
]FromVTodoAsync(string, CancellationToken)
Creates an instance of MapiTask from the specified .ics file asynchronously.
public static Task<MapiTask> FromVTodoAsync(string filePath, CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The path to the file to be loaded. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Returns a MapiTask instance which is loaded from the specified file.
See Also
- class MapiTask
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVTodoAsync(string, bool, CancellationToken)
Creates an instance of MapiTask from the specified .ics file asynchronously.
public static Task<MapiTask> FromVTodoAsync(string filePath, bool detectEncoding,
CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The path to the file to be loaded. |
| detectEncoding | Boolean | Determines a data encoding by analyzing its byte order mark (BOM) |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Returns a MapiTask instance which is loaded from the specified file.
See Also
- class MapiTask
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVTodoAsync(Stream, CancellationToken)
Creates an instance of MapiTask from the specified stream asynchronously.
public static Task<MapiTask> FromVTodoAsync(Stream stream, CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The stream to be loaded. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Returns a MapiTask instance which is loaded from the specified stream.
See Also
- class MapiTask
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVTodoAsync(Stream, bool, CancellationToken)
Creates an instance of MapiTask from the specified stream asynchronously.
public static Task<MapiTask> FromVTodoAsync(Stream stream, bool detectEncoding,
CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The stream to be loaded. |
| detectEncoding | Boolean | Determines a data encoding by analyzing its byte order mark (BOM) |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Returns a MapiTask instance which is loaded from the specified stream.
See Also
- class MapiTask
- namespace Aspose.Email.Mapi
- assembly Aspose.Email