共用方式為


DataCollectorNotifications.CustomEventCompleted 事件

由測試架構在診斷資料配接器完成處理非同步事件時所引發。

命名空間:  Microsoft.VisualStudio.TestTools.Execution
組件:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

語法

'宣告
Public MustOverride Event CustomEventCompleted As AsyncCompletedEventHandler
public abstract event AsyncCompletedEventHandler CustomEventCompleted
public:
virtual  event AsyncCompletedEventHandler^ CustomEventCompleted {
    void add (AsyncCompletedEventHandler^ value);
    void remove (AsyncCompletedEventHandler^ value);
}
abstract CustomEventCompleted : IEvent<AsyncCompletedEventHandler,
    AsyncCompletedEventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

DataCollectorNotifications 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間

AsyncCompletedEventHandler