PeerContact.SubscribeCompleted Event

Definition

Raised when a subscription operation has completed.

public:
 event EventHandler<System::Net::PeerToPeer::Collaboration::SubscribeCompletedEventArgs ^> ^ SubscribeCompleted;
public event EventHandler<System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs> SubscribeCompleted;
member this.SubscribeCompleted : EventHandler<System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs> 
Public Custom Event SubscribeCompleted As EventHandler(Of SubscribeCompletedEventArgs) 

Event Type

EventHandler<SubscribeCompletedEventArgs>

Exceptions

This PeerContact object has been disposed.

Remarks

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.

Applies to

See also