LoggingOptions.RequestHeadersDataClasses Property
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.
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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.