RunWorkerCompletedEventArgs Constructor

Initializes a new instance of the RunWorkerCompletedEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    result As Object, _
    error As Exception, _
    cancelled As Boolean _
)
public RunWorkerCompletedEventArgs(
    Object result,
    Exception error,
    bool cancelled
)

Parameters

  • result
    Type: System.Object
    The result of the asynchronous operation.
  • error
    Type: System.Exception
    Any error that occurred during the asynchronous operation.
  • cancelled
    Type: System.Boolean
    A value that indicates whether the asynchronous operation was canceled.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.