HeaderPropagationMessageHandlerEntryCollection.Add Method
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.
Overloads
| Add(String) |
Adds an HeaderPropagationMessageHandlerEntry that will use |
| Add(String, String) |
Adds an HeaderPropagationMessageHandlerEntry that will use the provided |
Add(String)
Adds an HeaderPropagationMessageHandlerEntry that will use headerName as
the value of CapturedHeaderName and
OutboundHeaderName.
public:
void Add(System::String ^ headerName);
public void Add (string headerName);
override this.Add : string -> unit
Public Sub Add (headerName As String)
Parameters
- headerName
- String
The name of the header to be added by the HeaderPropagationMessageHandler.
Applies to
Add(String, String)
Adds an HeaderPropagationMessageHandlerEntry that will use the provided capturedHeaderName
and outboundHeaderName.
public:
void Add(System::String ^ capturedHeaderName, System::String ^ outboundHeaderName);
public void Add (string capturedHeaderName, string outboundHeaderName);
override this.Add : string * string -> unit
Public Sub Add (capturedHeaderName As String, outboundHeaderName As String)
Parameters
- capturedHeaderName
- String
The name of the header captured by the HeaderPropagationMiddleware.
- outboundHeaderName
- String
The name of the header to be added by the HeaderPropagationMessageHandler.