PeerNearMe.InternalRefreshData(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化網路作業,以擷取 PeerNearMe 執行個體特定的應用程式、物件及資料。
protected public:
void InternalRefreshData(System::Object ^ state);
[System.Security.SecurityCritical]
protected internal void InternalRefreshData (object state);
[<System.Security.SecurityCritical>]
member this.InternalRefreshData : obj -> unit
Protected Friend Sub InternalRefreshData (state As Object)
參數
- state
- Object
指定與 PeerNearMe 執行個體相關的應用程式、物件和顯示狀態資料。
- 屬性
備註
取出的資料會儲存在和方法所存取的快取中,以及 GetApplications GetObjects PresenceStatus 屬性。 InternalRefreshData只有當呼叫端未訂閱指定的、或時,才需要使用方法 Peer PeerNearMe PeerContact 。
這個方法會封鎖額外的呼叫,直到網路作業完成並更新快取為止。
呼叫端不需要使用方法登入, SignIn 或在中透過使用者介面進行登入,以順利完成此操作。