Share via


WebTestRequestHeader Constructor (String, String)

Initializes a new instance of the WebTestRequestHeader class with values for the Name and Value properties.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As String _
)
public WebTestRequestHeader(
    string name,
    string value
)
public:
WebTestRequestHeader(
    String^ name, 
    String^ value
)
new : 
        name:string * 
        value:string -> WebTestRequestHeader
public function WebTestRequestHeader(
    name : String, 
    value : String
)

Parameters

Remarks

Initializes a header with the specified name and value.

.NET Framework Security

See Also

Reference

WebTestRequestHeader Class

WebTestRequestHeader Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace