CustomNotificationEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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当前测试用例的。