Share via


ExecuteCompletedEventArgs Constructor

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: Exception

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

  • canceled
    Type: Boolean

    true if the process was canceled; otherwise, false.

  • userState
    Type: Object

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

  • results
    Type: IEnumerable

    A collection of IRepositoryEntry objects that represent available extensions that match the query parameters.

  • totalCount
    Type: 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