PeerNearMe::InviteAsync Method (Object^)
.NET Framework (current version)
Receives an invitation response from a peer regarding joining a peer collaboration application.
Assembly: System.Net (in System.Net.dll)
public: [SecurityCriticalAttribute] virtual void InviteAsync( Object^ userToken ) override
Parameters
- userToken
-
Type:
System::Object^
User-defined object passed to the callback of the asynchronous operation for identification. This required parameter must be unique across all asynchronous invitation operations still in-progress.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The PeerApplication object has been disposed. |
| ArgumentException | The userToken argument specifies null. |
| PeerToPeerException | This PeerApplication object does not specify a valid Guid. |
.NET Framework
Available since 3.5
Available since 3.5
Show: