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.ExceptionThe exception, if any, that terminated the process; otherwise, nulla null reference (Nothing in Visual Basic).
canceled
Type: System.Booleantrue if the process was canceled; otherwise, false.
userState
Type: System.ObjectThe value of the state parameter that is passed to the ExecuteAsync call that executed the query.
results
Type: System.Collections.IEnumerableA collection of IRepositoryEntry objects that represent available extensions that match the query parameters.
totalCount
Type: System.Int32The 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.