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)

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

The PeerNearMe object has been disposed.


.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft