diff --git a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml index 241fc3b100c61..8b7c9feecfad1 100644 --- a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml +++ b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml @@ -26,13 +26,12 @@ is an example of the name of such a method. If you add an instance of the delegate to the event, you will receive information about the outcome of asynchronous operations in the parameter of the corresponding event handler. + +When using the [event-based asynchronous pattern](~/docs/standard/asynchronous-programming-patterns/event-based-asynchronous-pattern-eap.md) for asynchronous operations, a Windows Forms form or control initiates an asyncronous operation by calling the method. The method in turn raises the event asynchronously and passes it a instance. If the asychronous operation returns a value, the event handler typically assigns it to the property. When the asynchronous operation completes, the event is raised and is passed a instance that contains information about the status of the operation (whether it was cancelled, faulted, or completed successfully). If it completed successfully, its property contains the value returned by the asynchronous operation and previously assigned to the property. > [!NOTE] > The attribute applied to this class has the following property value: . The does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the class or [SQL Server Programming and Host Protection Attributes](~/docs/framework/performance/sql-server-programming-and-host-protection-attributes.md). - - ## Examples The following code example illustrates the use of . This example is part of a larger sample for the class.