Skip to main content
HttpConnectionOptionHeaderValue.HttpConnectionOptionHeaderValue constructor

Applies to Windows and Windows Phone

Initializes a new instance of the HttpConnectionOptionHeaderValue class.

Syntax


var httpConnectionOptionHeaderValue = new Windows.Web.Http.Headers.HttpConnectionOptionHeaderValue(token);

public HttpConnectionOptionHeaderValue(
  string token
)

Public Sub New (
  token As String 
)

public:
HttpConnectionOptionHeaderValue(
  String^ token
)

Parameters

token

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The value of the connection-token to use.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpConnectionOptionHeaderValue