LoggingOptions.ResponseHeadersDataClasses 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.