PeerContact.SubscribeCompleted Event

 

Raised when a subscription operation has completed.

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

Public Event SubscribeCompleted As EventHandler(Of SubscribeCompletedEventArgs)

Exception Condition
ObjectDisposedException

This PeerContact object has been disposed.

When this event is raised, the error property on the SubscribeCompletedEventArgs object should be examined to determine whether the SubscribeAsync process completed successfully.

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

.NET Framework
Available since 3.5
Return to top
Show: