Megosztás a következőn keresztül:


IPersistentStorage Interface

Definition

public interface class IPersistentStorage : IDisposable
public interface IPersistentStorage : IDisposable
public interface IPersistentStorage : IAsyncDisposable, IDisposable
type IPersistentStorage = interface
    interface IDisposable
type IPersistentStorage = interface
    interface IDisposable
    interface IAsyncDisposable
Public Interface IPersistentStorage
Implements IDisposable
Public Interface IPersistentStorage
Implements IAsyncDisposable, IDisposable
Implements

Remarks

Instances of IPersistentStorage support both synchronous and asynchronous disposal. Asynchronous disposal should always be preferred as the implementation of synchronous disposal may end up blocking the caller on async work.

Methods

ReadStreamAsync(Document, String, CancellationToken)
ReadStreamAsync(Project, String, CancellationToken)
ReadStreamAsync(String, CancellationToken)
WriteStreamAsync(Document, String, Stream, CancellationToken)

Returns true if the data was successfully persisted to the storage subsystem. Subsequent calls to read the same keys should succeed if called within the same session.

WriteStreamAsync(Project, String, Stream, CancellationToken)

Returns true if the data was successfully persisted to the storage subsystem. Subsequent calls to read the same keys should succeed if called within the same session.

WriteStreamAsync(String, Stream, CancellationToken)

Returns true if the data was successfully persisted to the storage subsystem. Subsequent calls to read the same keys should succeed if called within the same session.

Applies to