Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContactManager::CreateContactCompleted Event

 

Raised whenever a CreateContact method has completed.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public:
event EventHandler<CreateContactCompletedEventArgs^>^ CreateContactCompleted {
	void add(EventHandler<CreateContactCompletedEventArgs^>^ value);
	void remove(EventHandler<CreateContactCompletedEventArgs^>^ value);
}

Exception Condition
ObjectDisposedException

The calling object has been disposed.

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.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft