HeaderPropagationContext(HttpContext, String, StringValues) Constructor
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.
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.