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
name
Type: StringThe name of the WebTestRequestHeader.
value
Type: StringThe value of the WebTestRequestHeader.
Remarks
Initializes a header with the specified name and value.
.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.