LoggingOptions.ResponseHeadersDataClasses 属性

定义

获取或设置要记录的 HTTP 响应标头集及其各自的数据分类用于修订。

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)

属性值

默认值为 HashSet<T>

属性

注解

如果数据类为 None,则不会执行任何修订。 如果为空,则不会记录任何 HTTP 响应标头。

适用于