AsyncCompletedEventArgs Constructor (Exception, Boolean, Object)

Initializes a new instance of the AsyncCompletedEventArgs class.

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


Public Sub New ( _
    error As Exception, _
    cancelled As Boolean, _
    userState As Object _
public AsyncCompletedEventArgs(
    Exception error,
    bool cancelled,
    Object userState


  • 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.
  • userState
    Type: System.Object
    The optional user-supplied state object that is used to identify the task that raised the Completed event.

Version Information


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


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