PeerNearMe::Invite Method ()

 

Sends an invitation to join a peer collaboration application to a remote peer.

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

public:
[SecurityCriticalAttribute]
virtual PeerInvitationResponse^ Invite() override

Return Value

Type: System.Net.PeerToPeer.Collaboration::PeerInvitationResponse^

PeerInvitationResponse object containing the relevant PeerInvitationResponseType value specified by the remote peer.

Exception Condition
ObjectDisposedException

The PeerNearMe object has been disposed.

PeerToPeerException

.NET Framework
Available since 3.5
Return to top
Show: