Extracts the value of an HTTP header from the response and places the value and context parameter name into the WebTestContext.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overrides Sub Extract ( _
    sender As Object, _
    e As ExtractionEventArgs _
)
public override void Extract(
    Object sender,
    ExtractionEventArgs e
)
public:
virtual void Extract(
    Object^ sender, 
    ExtractionEventArgs^ e
) override
abstract Extract : 
        sender:Object * 
        e:ExtractionEventArgs -> unit  
override Extract : 
        sender:Object * 
        e:ExtractionEventArgs -> unit
public override function Extract(
    sender : Object, 
    e : ExtractionEventArgs
)
Parameters
- sender 
 Type: Object- The object that fired the event. 
- e 
 Type: Microsoft.VisualStudio.TestTools.WebTesting.ExtractionEventArgs- Contains request, response, and context information. 
Remarks
If the header does not exist and Required is true, e.Success is false.
.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.