This documentation is archived and is not being maintained.
Peer::Invite Method
Visual Studio 2010
Sends an invitation to a Peer to start a specific PeerApplication.
Assembly: System.Net (in System.Net.dll)
Return Value
Type: System.Net.PeerToPeer.Collaboration::PeerInvitationResponseA PeerInvitationResponse from the peer that received the invitation.
| Exception | Condition |
|---|---|
| PeerToPeerException |
|
Calling this method requires a PermissionState of Unrestricted. This state is created when the Peer Collaboration session begins.
Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: