PeerContact.SubscribeCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.