CustomNotificationEventArgs 构造函数

定义

重载

CustomNotificationEventArgs()

初始化 CustomNotificationEventArgs 类的新实例,用于为测试会话发送自定义通知。

CustomNotificationEventArgs(TestExecId)

初始化类的新实例 CustomNotificationEventArgs ,以便使用所提供的测试执行 ID 为测试用例发送自定义通知。

CustomNotificationEventArgs()

初始化 CustomNotificationEventArgs 类的新实例,用于为测试会话发送自定义通知。

protected:
 CustomNotificationEventArgs();
protected CustomNotificationEventArgs ();
Protected Sub New ()

适用于

CustomNotificationEventArgs(TestExecId)

初始化类的新实例 CustomNotificationEventArgs ,以便使用所提供的测试执行 ID 为测试用例发送自定义通知。

protected:
 CustomNotificationEventArgs(Microsoft::VisualStudio::TestTools::Common::TestExecId ^ testExecId);
protected CustomNotificationEventArgs (Microsoft.VisualStudio.TestTools.Common.TestExecId testExecId);
new Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs : Microsoft.VisualStudio.TestTools.Common.TestExecId -> Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs
Protected Sub New (testExecId As TestExecId)

参数

testExecId
TestExecId

TestExecId当前测试用例的。

适用于