Peer::InviteAsync Method (Object^)
.NET Framework (current version)
Begins an asynchronous invitation operation which sends an invitation to a Peer to start a specific PeerApplication.
Assembly: System.Net (in System.Net.dll)
Parameters
- userToken
-
Type:
System::Object^
User-defined object to pass to the callback of the asynchronous operation for identification. This required parameter must be unique across all asynchronous invitation operations in progress.
| Exception | Condition |
|---|---|
| ArgumentNullException | userToken is null. |
| PeerToPeerException |
|
Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.
.NET Framework
Available since 3.5
Available since 3.5
Show: