Dela via


HttpCorrelationProtocol Struct

Definition

Sets correlation protocol to use for Application Insights diagnostics.

public readonly struct HttpCorrelationProtocol : IEquatable<Azure.ResourceManager.ApiManagement.Models.HttpCorrelationProtocol>
type HttpCorrelationProtocol = struct
Public Structure HttpCorrelationProtocol
Implements IEquatable(Of HttpCorrelationProtocol)
Inheritance
HttpCorrelationProtocol
Implements

Constructors

HttpCorrelationProtocol(String)

Initializes a new instance of HttpCorrelationProtocol.

Properties

Legacy

Inject Request-Id and Request-Context headers with request correlation data. See https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HttpCorrelationProtocol.md.

None

Do not read and inject correlation headers.

W3C

Inject Trace Context headers. See https://w3c.github.io/trace-context.

Methods

Equals(HttpCorrelationProtocol)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(HttpCorrelationProtocol, HttpCorrelationProtocol)

Determines if two HttpCorrelationProtocol values are the same.

Implicit(String to HttpCorrelationProtocol)

Converts a string to a HttpCorrelationProtocol.

Inequality(HttpCorrelationProtocol, HttpCorrelationProtocol)

Determines if two HttpCorrelationProtocol values are not the same.

Applies to