Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

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

public class PreRequestEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyInstruction

Gets or sets the WebTestExecutionInstruction for this request. This enables an upcoming request to be skipped.

System_CAPS_pubpropertyRequest

Gets the WebTestRequest that caused the PreRequest event.

System_CAPS_pubpropertyWebTest

Gets the WebTest that contains the request.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

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

Return to top
Show: