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 作業發生錯誤或取消,也會引發。

此事件需要 PermissionStateUnrestricted

適用於

另請參閱