ExtractHttpHeader Members
Include Protected Members
Include Inherited Members
Used to extract an HTTP header value from the response and place the value of the header into the WebTestContext.
The ExtractHttpHeader type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the ExtractHttpHeader class.
Top
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Extracts the value of an HTTP header from the response and places the value and context parameter name into the WebTestContext. (Overrides ExtractionRule.Extract(Object, ExtractionEventArgs).)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets or sets the context name of the extracted property. (Inherited from ExtractionRule.)
Gets or sets a value representing the name of the header whose value is to be extracted.
Gets or sets a value that indicates whether the request fails if the header does not exist.
Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a description for this rule. (Inherited from ExtractionRule.)
Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a display name for this rule. (Inherited from ExtractionRule.)
Top