Dela via


WebTest.PreWebTest Event

Occurs before the Web performance 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)
public event EventHandler<PreWebTestEventArgs> PreWebTest
public:
 event EventHandler<PreWebTestEventArgs^>^ PreWebTest {
    void add (EventHandler<PreWebTestEventArgs^>^ value);
    void remove (EventHandler<PreWebTestEventArgs^>^ value);
}
member PreWebTest : IEvent<EventHandler<PreWebTestEventArgs>,
    PreWebTestEventArgs>
JScript does not support events.

Remarks

For more information about how to handle events, see Consuming Events.

.NET Framework Security

See Also

Reference

WebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace