HeaderPropagationContext(HttpContext, String, StringValues) Constructor

Definition

Initializes a new instance of HeaderPropagationContext with the provided httpContext, headerName and headerValue.

public:
 HeaderPropagationContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, System::String ^ headerName, Microsoft::Extensions::Primitives::StringValues headerValue);
public HeaderPropagationContext (Microsoft.AspNetCore.Http.HttpContext httpContext, string headerName, Microsoft.Extensions.Primitives.StringValues headerValue);
new Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationContext : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.Extensions.Primitives.StringValues -> Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationContext
Public Sub New (httpContext As HttpContext, headerName As String, headerValue As StringValues)

Parameters

httpContext
HttpContext

The HttpContext associated with the current request.

headerName
String

The header name.

headerValue
StringValues

The header value present in the current request.

Applies to