Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: System.String
The name of the WebTestRequestHeader.
- value
Type: System.String
The 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.