Invite Method
Collapse the table of content
Expand the table of content

PeerNearMe.Invite Method ()

.NET Framework (current version)
 

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)

[SecurityCriticalAttribute]
public override PeerInvitationResponse Invite()

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:
© 2016 Microsoft