WebTestRequestHeader Class
Represents an HTTP header.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestHeader
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class WebTestRequestHeader _
Implements ICloneable
[SerializableAttribute]
public class WebTestRequestHeader : ICloneable
[SerializableAttribute]
public ref class WebTestRequestHeader : ICloneable
[<SerializableAttribute>]
type WebTestRequestHeader =
class
interface ICloneable
end
public class WebTestRequestHeader implements ICloneable
The WebTestRequestHeader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebTestRequestHeader() | Initializes a new instance of the WebTestRequestHeader class. | |
WebTestRequestHeader(String, String) | Initializes a new instance of the WebTestRequestHeader class with values for the Name and Value properties. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the request header. | |
Value | Gets or sets the value of the request header. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Creates of a copy of the current instance. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
This class is serializable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace