HeaderPropagationMessageHandlerEntry(String, String) Constructor

Definition

Creates a new HeaderPropagationMessageHandlerEntry with the provided capturedHeaderName and outboundHeaderName.

public:
 HeaderPropagationMessageHandlerEntry(System::String ^ capturedHeaderName, System::String ^ outboundHeaderName);
public HeaderPropagationMessageHandlerEntry (string capturedHeaderName, string outboundHeaderName);
new Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationMessageHandlerEntry : string * string -> Microsoft.AspNetCore.HeaderPropagation.HeaderPropagationMessageHandlerEntry
Public Sub New (capturedHeaderName As String, outboundHeaderName As String)

Parameters

capturedHeaderName
String

The name of the header to be used to lookup the headers captured by the HeaderPropagationMiddleware.

outboundHeaderName
String

The name of the header to be added to the outgoing http requests by the HeaderPropagationMessageHandler.

Applies to