Compartir a través de


DataAsyncCommandEvents Class

Represents a set of delegates that are called by methods on the DataAsyncCommand class to notify clients of command progress.

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

Syntax

Public Class DataAsyncCommandEvents

Dim instance As DataAsyncCommandEvents
public class DataAsyncCommandEvents
public ref class DataAsyncCommandEvents
public class DataAsyncCommandEvents

Remarks

When a call is made to one of the Async_ methods on the DataAsyncCommand class, an instance of this class is passed in to allow the asynchronous method to notify the caller of command progress.

The caller can register zero or more of their own methods with the asynchronous method by creating an instance of this class and setting values for the delegate properties to point at their methods.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataAsyncCommandEvents

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

DataAsyncCommandEvents Members

Microsoft.VisualStudio.Data Namespace