Share via


ExecuteCompletedEventArgs Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates ExecuteCompletedEventArgs to be consumed by a ExecuteCompleted event.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Declaration
Public Sub New ( _
    exception As Exception, _
    canceled As Boolean, _
    userState As Object, _
    results As IEnumerable, _
    totalCount As Integer _
)
public ExecuteCompletedEventArgs(
    Exception exception,
    bool canceled,
    Object userState,
    IEnumerable results,
    int totalCount
)
public:
ExecuteCompletedEventArgs(
    Exception^ exception, 
    bool canceled, 
    Object^ userState, 
    IEnumerable^ results, 
    int totalCount
)
new : 
        exception:Exception * 
        canceled:bool * 
        userState:Object * 
        results:IEnumerable * 
        totalCount:int -> ExecuteCompletedEventArgs
public function ExecuteCompletedEventArgs(
    exception : Exception, 
    canceled : boolean, 
    userState : Object, 
    results : IEnumerable, 
    totalCount : int
)

Parameters

  • exception
    Type: System.Exception

    The exception, if any, that terminated the process; otherwise, nulla null reference (Nothing in Visual Basic).

  • canceled
    Type: System.Boolean

    true if the process was canceled; otherwise, false.

  • userState
    Type: System.Object

    The value of the state parameter that is passed to the ExecuteAsync call that executed the query.

  • totalCount
    Type: System.Int32

    The number of extensions that match the query parameters.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

ExecuteCompletedEventArgs Class

Microsoft.VisualStudio.ExtensionManager Namespace