HttpExpectationHeaderValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpExpectationHeaderValue(String) |
Initializes a new instance of the HttpExpectationHeaderValue class with a name. |
HttpExpectationHeaderValue(String, String) |
Initializes a new instance of the HttpExpectationHeaderValue class with a name and value for the name. |
HttpExpectationHeaderValue(String)
Initializes a new instance of the HttpExpectationHeaderValue class with a name.
public:
HttpExpectationHeaderValue(Platform::String ^ name);
HttpExpectationHeaderValue(winrt::hstring const& name);
public HttpExpectationHeaderValue(string name);
function HttpExpectationHeaderValue(name)
Public Sub New (name As String)
Parameters
- name
-
String
Platform::String
winrt::hstring
A token that represents a name used in the Expect HTTP header.
See also
Applies to
HttpExpectationHeaderValue(String, String)
Initializes a new instance of the HttpExpectationHeaderValue class with a name and value for the name.
public:
HttpExpectationHeaderValue(Platform::String ^ name, Platform::String ^ value);
HttpExpectationHeaderValue(winrt::hstring const& name, winrt::hstring const& value);
public HttpExpectationHeaderValue(string name, string value);
function HttpExpectationHeaderValue(name, value)
Public Sub New (name As String, value As String)
Parameters
- name
-
String
Platform::String
winrt::hstring
A token that represents a name used in the Expect HTTP header.
- value
-
String
Platform::String
winrt::hstring
A value for the name used in the Expect HTTP header.