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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.