WebTest.PreWebTest Event
Occurs before the Web test runs.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Event PreWebTest As EventHandler(Of PreWebTestEventArgs)
'Usage
Dim instance As WebTest
Dim handler As EventHandler(Of PreWebTestEventArgs)
AddHandler instance.PreWebTest, handler
public event EventHandler<PreWebTestEventArgs> PreWebTest
public:
event EventHandler<PreWebTestEventArgs^>^ PreWebTest {
void add (EventHandler<PreWebTestEventArgs^>^ value);
void remove (EventHandler<PreWebTestEventArgs^>^ value);
}
JScript does not support events.
Remarks
For more information about how to handle events, see Consuming Events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.