OperationCompleted Method
Collapse the table of content
Expand the table of content

AsyncOperation.OperationCompleted Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Ends the lifetime of an asynchronous operation.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public void OperationCompleted()

ExceptionCondition
InvalidOperationException

OperationCompleted has been called previously for this task.

Call the OperationCompleted method to end the lifetime of an asynchronous operation. After this method is called for a particular task, calls to its corresponding AsyncOperation will raise an exception.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft