共用方式為


DataCollectionLogger.SendData 方法 (CustomNotificationEventArgs, CustomCollectorData)

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

語法

'宣告
Public Overridable Sub SendData ( _
    matchingEventArgs As CustomNotificationEventArgs, _
    data As CustomCollectorData _
)
public virtual void SendData(
    CustomNotificationEventArgs matchingEventArgs,
    CustomCollectorData data
)
public:
virtual void SendData(
    CustomNotificationEventArgs^ matchingEventArgs, 
    CustomCollectorData^ data
)
abstract SendData : 
        matchingEventArgs:CustomNotificationEventArgs * 
        data:CustomCollectorData -> unit 
override SendData : 
        matchingEventArgs:CustomNotificationEventArgs * 
        data:CustomCollectorData -> unit 
public function SendData(
    matchingEventArgs : CustomNotificationEventArgs, 
    data : CustomCollectorData
)

參數

.NET Framework 安全性

請參閱

參考

DataCollectionLogger 類別

SendData 多載

Microsoft.VisualStudio.TestTools.Execution 命名空間