Partager via


ExecuteCompletedEventArgs Class

Arguments consumed by the ExecuteCompleted() event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.AsyncCompletedEventArgs
      Microsoft.VisualStudio.ExtensionManager.ExecuteCompletedEventArgs

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

Syntax

'Déclaration
Public Class ExecuteCompletedEventArgs _
    Inherits AsyncCompletedEventArgs
public class ExecuteCompletedEventArgs : AsyncCompletedEventArgs
public ref class ExecuteCompletedEventArgs : public AsyncCompletedEventArgs
type ExecuteCompletedEventArgs =  
    class
        inherit AsyncCompletedEventArgs
    end
public class ExecuteCompletedEventArgs extends AsyncCompletedEventArgs

The ExecuteCompletedEventArgs type exposes the following members.

Constructors

  Name Description
Public method ExecuteCompletedEventArgs Creates ExecuteCompletedEventArgs to be consumed by a ExecuteCompleted() event.

Top

Properties

  Name Description
Public property Cancelled Gets a value indicating whether an asynchronous operation has been canceled. (Inherited from AsyncCompletedEventArgs.)
Public property Error Gets a value indicating which error occurred during an asynchronous operation. (Inherited from AsyncCompletedEventArgs.)
Public property Results Results returned by an IVsExtensionRepositoryQuery<T> query.
Public property TotalCount The number of extensions that match the query parameters.
Public property UserState Gets the unique identifier for the asynchronous task. (Inherited from AsyncCompletedEventArgs.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RaiseExceptionIfNecessary Raises a user-supplied exception if an asynchronous operation failed. (Inherited from AsyncCompletedEventArgs.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace