Share via


LoggingOptions.ResponseHeadersDataClasses Property

Definition

Gets or sets the set of HTTP response 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> ^ ResponseHeadersDataClasses { 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> ResponseHeadersDataClasses { get; set; }
[<System.ComponentModel.DataAnnotations.Required>]
member this.ResponseHeadersDataClasses : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Compliance.Classification.DataClassification> with get, set
Public Property ResponseHeadersDataClasses As IDictionary(Of String, DataClassification)

Property Value

The default value is HashSet<T>.

Attributes

Remarks

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

Applies to