Share via


IOutgoingRequestContext.SetRequestMetadata(RequestMetadata) Method

Definition

Sets metadata for outgoing requests to be used for telemetry purposes.

public:
 void SetRequestMetadata(Microsoft::Extensions::Http::Diagnostics::RequestMetadata ^ metadata);
public void SetRequestMetadata (Microsoft.Extensions.Http.Diagnostics.RequestMetadata metadata);
abstract member SetRequestMetadata : Microsoft.Extensions.Http.Diagnostics.RequestMetadata -> unit
Public Sub SetRequestMetadata (metadata As RequestMetadata)

Parameters

metadata
RequestMetadata

Metadata for the request.

Applies to