Dela via


PreRequestEventArgs.Instruction Property

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

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

Syntax

'Declaration
Public Property Instruction As WebTestExecutionInstruction
public WebTestExecutionInstruction Instruction { get; set; }
public:
property WebTestExecutionInstruction Instruction {
    WebTestExecutionInstruction get ();
    void set (WebTestExecutionInstruction value);
}
member Instruction : WebTestExecutionInstruction with get, set
function get Instruction () : WebTestExecutionInstruction
function set Instruction (value : WebTestExecutionInstruction)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestExecutionInstruction
A WebTestExecutionInstruction object.

.NET Framework Security

See Also

Reference

PreRequestEventArgs Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace