BackgroundAgent.NotifyCompleteWithResult Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Informs the operating system that the agent has completed its intended task for the current invocation of the agent. Call this method after successfully handling an invocation with a result.
Namespace: Microsoft.Phone
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Protected Sub NotifyCompleteWithResult ( _
result As Integer _
)
protected void NotifyCompleteWithResult(
int result
)
Parameters
- result
Type: System..::.Int32
The result code from the invocation.
Version Information
Windows Phone OS
Supported in: 8.1