PersonalStorage.FromStream

FromStream(Stream, bool)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream, bool writable)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
writableBooleanif set to true then the the pst will support writing, otherwise it will be opened in read-only mode.

Return Value

A PersonalStorage object that represents the current PST.

See Also


FromStream(Stream, PersonalStorageLoadOptions)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream, PersonalStorageLoadOptions loadOptions)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
loadOptionsPersonalStorageLoadOptionsThe load options.

Return Value

A PersonalStorage object that represents the current PST.

See Also


FromStream(Stream)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream)
ParameterTypeDescription
streamStreamThe System.IO.Stream.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also


FromStream(Stream, CancellationToken)

Load PST from file.

public static PersonalStorage FromStream(Stream stream, CancellationToken token)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
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


FromStream(Stream, bool, CancellationToken)

public static PersonalStorage FromStream(Stream stream, bool writable, CancellationToken token)

See Also


FromStream(Stream, PersonalStorageLoadOptions, CancellationToken)

Load PST from file.

public static PersonalStorage FromStream(Stream stream, PersonalStorageLoadOptions loadOptions, 
    CancellationToken token)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
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