OlmStorage.OlmStorage
Contents
[
Hide
]OlmStorage(TraversalExceptionsCallback)
Initializes a new instance of the OlmStorage class. Allows setting a callback method for handling exceptions that occur during OLM storage traversal.
public OlmStorage(TraversalExceptionsCallback callback)
| Parameter | Type | Description |
|---|---|---|
| callback | TraversalExceptionsCallback | The exception callback. |
See Also
- delegate TraversalExceptionsCallback
- class OlmStorage
- namespace Aspose.Email.Storage.Olm
- assembly Aspose.Email
OlmStorage(string)
Initializes a new instance of the OlmStorage class.
public OlmStorage(string fileName)
| Parameter | Type | Description |
|---|---|---|
| fileName | String | OLM file name. |
Return Value
Returns an OlmStorage instance which is loaded from the specified file.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | throws if file name is null or empty |
See Also
- class OlmStorage
- namespace Aspose.Email.Storage.Olm
- assembly Aspose.Email
OlmStorage(Stream)
Initializes a new instance of the OlmStorage class.
public OlmStorage(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | Source stream Stream with OLM storage data. |
Return Value
Returns an OlmStorage instance which is loaded from the specified stream.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | throws if stream is null |
See Also
- class OlmStorage
- namespace Aspose.Email.Storage.Olm
- assembly Aspose.Email