Редагувати

Поділитися через


ContactManager.CreateContactCompleted Event

Definition

Raised whenever a CreateContact(PeerNearMe) method has completed.

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) 

Event Type

Exceptions

The calling object has been disposed.

Remarks

This event is raised when the CreateContactAsync method has completed. It is also raised if the ContactManager operation completes in error or is cancelled.

This event requires a PermissionState of Unrestricted.

Applies to

See also