HeaderPropagationEntry 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.
Creates a new HeaderPropagationEntry with the provided inboundHeaderName
,
capturedHeaderName
and valueFilter
.
public:
HeaderPropagationEntry(System::String ^ inboundHeaderName, System::String ^ capturedHeaderName, Func<Microsoft::AspNetCore::HeaderPropagation::HeaderPropagationContext, Microsoft::Extensions::Primitives::StringValues> ^ valueFilter);
public HeaderPropagationEntry (string inboundHeaderName, string capturedHeaderName, Func<Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationContext,Microsoft.Extensions.Primitives.StringValues> valueFilter);
public HeaderPropagationEntry (string inboundHeaderName, string capturedHeaderName, Func<Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationContext,Microsoft.Extensions.Primitives.StringValues>? valueFilter);
new Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationEntry : string * string * Func<Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationContext, Microsoft.Extensions.Primitives.StringValues> -> Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationEntry
Public Sub New (inboundHeaderName As String, capturedHeaderName As String, valueFilter As Func(Of HeaderPropagationContext, StringValues))
Parameters
- inboundHeaderName
- String
The name of the header to be captured by HeaderPropagationMiddleware.
- capturedHeaderName
- String
The name of the header to be added by HeaderPropagationMessageHandler.
- valueFilter
- Func<HeaderPropagationContext,StringValues>
A filter delegate that can be used to transform the header value. May be null.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for