ContactManager.CreateContactCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當方法 CreateContact(PeerNearMe) 完成時即升起。
public:
event EventHandler<System::Net::PeerToPeer::Collaboration::CreateContactCompletedEventArgs ^> ^ CreateContactCompleted;
public event EventHandler<System.Net.PeerToPeer.Collaboration.CreateContactCompletedEventArgs> CreateContactCompleted;
member this.CreateContactCompleted : EventHandler<System.Net.PeerToPeer.Collaboration.CreateContactCompletedEventArgs>
Public Custom Event CreateContactCompleted As EventHandler(Of CreateContactCompletedEventArgs)
事件類型
例外狀況
召喚物體已被處理。
備註
當方法完成時,此事件會被觸發 CreateContactAsync 。 若 ContactManager 操作錯誤完成或被取消,也會提高。
此事件需要一個 PermissionState 。Unrestricted