語言

ContactManager.CreateContactCompleted 事件

定義

當方法 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

適用於

另請參閱