Peer::InviteCompleted Event

 

Raised when the invitation process for a remote peer has completed.

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

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

Exception Condition
ObjectDisposedException

This Peer object has been disposed.

The PeerInvitationResponse specifies the result of the invitation operation.

Calling this method requires a PermissionState of Unrestricted.

.NET Framework
Available since 3.5
Return to top
Show: