LoggingOptions.RouteParameterDataClasses プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
HTTP パス パラメーターとそのデータ分類の間のマップを取得または設定します。
[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Compliance.Classification.DataClassification> RouteParameterDataClasses { get; set; }
[<System.ComponentModel.DataAnnotations.Required>]
member this.RouteParameterDataClasses : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Compliance.Classification.DataClassification> with get, set
Public Property RouteParameterDataClasses As IDictionary(Of String, DataClassification)
プロパティ値
既定値は空のディクショナリです。
- 属性
注釈
コントローラーのアクション内のパラメーターにデータ分類属性で注釈が付けされておらず、このマップに見つからない場合は、 のように Unknown編集されます。 パラメーターを編集しない場合は、 として Noneマークします。