NotifyCompleteWithResult Method
Collapse the table of content
Expand the table of content

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)

protected void NotifyCompleteWithResult(
	int result
)

Parameters

result
Type: System.Int32
The result code from the invocation.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft