Delen via


LoggingOptions.RequestHeadersDataClasses Property

Definition

Gets or sets the set of HTTP request headers to log and their respective data classifications to use for redaction.

public:
 property System::Collections::Generic::IDictionary<System::String ^, Microsoft::Extensions::Compliance::Classification::DataClassification> ^ RequestHeadersDataClasses { System::Collections::Generic::IDictionary<System::String ^, Microsoft::Extensions::Compliance::Classification::DataClassification> ^ get(); void set(System::Collections::Generic::IDictionary<System::String ^, Microsoft::Extensions::Compliance::Classification::DataClassification> ^ value); };
[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Compliance.Classification.DataClassification> RequestHeadersDataClasses { get; set; }
[<System.ComponentModel.DataAnnotations.Required>]
member this.RequestHeadersDataClasses : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Compliance.Classification.DataClassification> with get, set
Public Property RequestHeadersDataClasses As IDictionary(Of String, DataClassification)

Property Value

The default value is HashSet<T>.

Attributes

Remarks

If empty, no HTTP request headers will be logged. If the data class is None, no redaction will be done.

Applies to