Share via


PreRequestEventArgs Class

Provides data for the WebTest.PreRequest event.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Class PreRequestEventArgs _
    Inherits EventArgs
'Usage
Dim instance As PreRequestEventArgs
public class PreRequestEventArgs : EventArgs
public ref class PreRequestEventArgs : public EventArgs
public class PreRequestEventArgs extends EventArgs

Remarks

This provides a reference to the WebTest that generated the PreRequest event, the WebTestRequest that caused the PreRequest event, or the WebTestExecutionInstruction for the request.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.WebTesting.PreRequestEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PreRequestEventArgs Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Working with Web Tests