LoggingOptions.ResponseHeadersDataClasses 属性

定义

获取或设置要记录的响应标头与其数据分类之间的映射。

[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)

属性值

默认值为空字典,这意味着默认情况下不会记录任何响应标头。

属性

注解

默认设置为空字典。 这意味着默认情况下不会记录任何响应标头。

适用于