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.
Namespace: Microsoft.Phone.Networking.Voip
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Shared Sub Launch ( _
<OutAttribute> ByRef backgroundProcessId As Integer _
)
public static void Launch(
out int backgroundProcessId
)
Parameters
- backgroundProcessId
Type: System..::.Int32%
The process ID of the background process.
Exceptions
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. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0