This documentation is archived and is not being maintained.
PeerNearMe::Invite Method
Visual Studio 2008
Sends an invitation to join a peer collaboration application to a remote peer.
Assembly: System.Net (in System.Net.dll)
Return Value
Type: System.Net.PeerToPeer.Collaboration::PeerInvitationResponsePeerInvitationResponse object containing the relevant PeerInvitationResponseType value specified by the remote peer.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The PeerNearMe object has been disposed. |
| PeerToPeerException |
|
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: