AsyncOperation.OperationCompleted Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Ends the lifetime of an asynchronous operation.

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

public void OperationCompleted()

Exception Condition
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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: