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 ,或通过中的用户界面进行登录以成功完成此操作。