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

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

BackgroundAgent Class

Microsoft.Phone Namespace