DataAsyncCommandCompletedEventArgs<T> Class
Encapsulates event data for various events used in the IVsDataAsyncCommand service
Inheritance Hierarchy
System.Object
System.EventArgs
System.ComponentModel.AsyncCompletedEventArgs
Microsoft.VisualStudio.Data.Services.SupportEntities.DataAsyncCommandCompletedEventArgs<T>
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Public Class DataAsyncCommandCompletedEventArgs(Of T) _
Inherits AsyncCompletedEventArgs
public class DataAsyncCommandCompletedEventArgs<T> : AsyncCompletedEventArgs
generic<typename T>
public ref class DataAsyncCommandCompletedEventArgs : public AsyncCompletedEventArgs
type DataAsyncCommandCompletedEventArgs<'T> =
class
inherit AsyncCompletedEventArgs
end
JScript does not support generic types or methods.
Type Parameters
- T
The type of the parameter.
The DataAsyncCommandCompletedEventArgs<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataAsyncCommandCompletedEventArgs<T> | Initializes a new instance of the DataAsyncCommandCompletedEventArgs<T> class with the specified parameters. |
Top
Properties
Name | Description | |
---|---|---|
Cancelled | Gets a value indicating whether an asynchronous operation has been canceled. (Inherited from AsyncCompletedEventArgs.) | |
Error | Gets a value indicating which error occurred during an asynchronous operation. (Inherited from AsyncCompletedEventArgs.) | |
ReturnValue | Returns the return value of the operation. | |
UserState | Gets the unique identifier for the asynchronous task. (Inherited from AsyncCompletedEventArgs.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RaiseExceptionIfNecessary | Raises a user-supplied exception if an asynchronous operation failed. (Inherited from AsyncCompletedEventArgs.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.Data.Services.SupportEntities Namespace