AsyncOperation.OperationCompleted Method

Definition

Ends the lifetime of an asynchronous operation.

public:
 void OperationCompleted();
public void OperationCompleted ();
member this.OperationCompleted : unit -> unit
Public Sub OperationCompleted ()

Exceptions

OperationCompleted() has been called previously for this task.

Remarks

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.

Applies to