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
'Declaração
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.
- results
Type: System.Collections.IEnumerable
A collection of IRepositoryEntry objects that represent available extensions that match the query parameters.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.