PersonalStorage.FromFileAsync

FromFileAsync(string, CancellationToken)

Load PST from file.

public static Task<PersonalStorage> FromFileAsync(string fileName, 
    CancellationToken token = default)
ParameterTypeDescription
fileNameStringName of .pst file.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also


FromFileAsync(string, bool, CancellationToken)

public static Task<PersonalStorage> FromFileAsync(string fileName, bool writable, 
    CancellationToken token = default)

See Also


FromFileAsync(string, PersonalStorageLoadOptions, CancellationToken)

Load PST from file.

public static Task<PersonalStorage> FromFileAsync(string fileName, 
    PersonalStorageLoadOptions loadOptions, CancellationToken token = default)
ParameterTypeDescription
fileNameStringName of .pst file.
loadOptionsPersonalStorageLoadOptionsThe load options.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also