ISimpleWorkItemAsyncStateWatcher 介面

定義

代表一個物件會監控由簡單工作項目定義的非同步狀態。

public interface class ISimpleWorkItemAsyncStateWatcher
public interface ISimpleWorkItemAsyncStateWatcher
type ISimpleWorkItemAsyncStateWatcher = interface
Public Interface ISimpleWorkItemAsyncStateWatcher

屬性

名稱 Description
Completed

檢查所有州是否已更新,是否需要更多民調。

PendingAsyncStates

會取得還沒更新的非同步狀態。

方法

名稱 Description
Add(ISimpleWorkItemAsyncState)

在觀看狀態池中新增一個非同步狀態。

Poll()

輪詢非同步狀態以進行完成。

適用於