MapiCalendar.FromIcsAsync
Contents
[
Hide
]FromIcsAsync(Stream, CancellationToken)
Creates an instance of MapiCalendar from the specified stream asynchronously.
public static Task<MapiCalendar> FromIcsAsync(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 MapiCalendar instance loaded from the specified stream.
See Also
- class MapiCalendar
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromIcsAsync(Stream, bool, CancellationToken)
Creates an instance of MapiCalendar from the specified stream asynchronously.
public static Task<MapiCalendar> FromIcsAsync(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 MapiCalendar instance loaded from the specified stream.
See Also
- class MapiCalendar
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromIcsAsync(string, CancellationToken)
Creates an instance of MapiCalendar from the specified .ics file asynchronously.
public static Task<MapiCalendar> FromIcsAsync(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 MapiCalendar instance loaded from the specified file.
See Also
- class MapiCalendar
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromIcsAsync(string, bool, CancellationToken)
Creates an instance of MapiCalendar from the specified .ics file asynchronously.
public static Task<MapiCalendar> FromIcsAsync(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 MapiCalendar instance loaded from the specified file.
See Also
- class MapiCalendar
- namespace Aspose.Email.Mapi
- assembly Aspose.Email