共用方式為


ITableEntriesSnapshot.StartCaching Method

Definition

Hint to the snapshot that there will be a lot of access to the snapshot's data.

public:
 void StartCaching();
public:
 void StartCaching();
void StartCaching();
public void StartCaching ();
abstract member StartCaching : unit -> unit
Public Sub StartCaching ()

Remarks

The model for using and releasing entries from snapshots works as follows. For snapshots that were directly added to an ITableDataSink:

StartCaching() is called from a background thread at the start of an update pass and before any calls to TryGetValue(Int32, String, Object).

StopCaching() will be called from a background thread at the end of an update pass.

Dispose() will be called at the end of an update pass if either the snapshot had previously been removed or if the snapshot was a snapshot managed by an ITableEntriesSnapshotFactory and none of its entries are visible in table.

Applies to