VoipBackgroundProcess.Launch Method (Int32%)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Launches the VoIP background process and returns its process ID.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
'Declaration Public Shared Sub Launch ( _ <OutAttribute> ByRef backgroundProcessId As Integer _ )
Parameters
- backgroundProcessId
- Type:
System.Int32
%
The process ID of the background process.
| Exception | Condition |
|---|---|
| UnauthorizedAccessException | The calling application does not have the ID_CAP_VOIP capability. |
| InvalidOperationException | The VoIP application's background process can only be launched by the UI process of a VoIP application that is in the foreground. |
| Exception | The system was unable to launch the background process. |
Show: