LoggingOptions.RequestHeadersDataClasses 属性

定义

获取或设置要记录的 HTTP 请求标头集,以及用于编修的相应数据分类。

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)

属性值

默认值为 HashSet<T>

属性

注解

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

适用于