Udostępnij za pośrednictwem


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
'Usage
Dim instance As PreRequestEventArgs 
Dim value As WebTestExecutionInstruction 

value = instance.Instruction

instance.Instruction = value
public WebTestExecutionInstruction Instruction { get; set; }
public:
property WebTestExecutionInstruction Instruction {
    WebTestExecutionInstruction get ();
    void set (WebTestExecutionInstruction value);
}
public function get Instruction () : WebTestExecutionInstruction 
public function set Instruction (value : WebTestExecutionInstruction)

Property Value

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

.NET Framework Security

See Also

Reference

PreRequestEventArgs Class

PreRequestEventArgs Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace