UITestAction 执行前引发事件。
命名空间: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Event ActionStarted As EventHandler(Of UITestActionEventArgs)
public event EventHandler<UITestActionEventArgs> ActionStarted
public:
event EventHandler<UITestActionEventArgs^>^ ActionStarted {
void add (EventHandler<UITestActionEventArgs^>^ value);
void remove (EventHandler<UITestActionEventArgs^>^ value);
}
member ActionStarted : IEvent<EventHandler<UITestActionEventArgs>,
UITestActionEventArgs>
JScript 不支持事件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。