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