LoggerRedactionOptions.ApplyDiscriminator 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 a value indicating whether a discriminator value is applied to each redacted value.
public:
property bool ApplyDiscriminator { bool get(); void set(bool value); };
public bool ApplyDiscriminator { get; set; }
member this.ApplyDiscriminator : bool with get, set
Public Property ApplyDiscriminator As Boolean
Property Value
Defaults to true
.
Remarks
The discriminator is used to constrain the ability to correlate data between pieces of state. When this property is true
, the tag name of each value is included as part of the redacted text, generally making it impossible to correlate data between tags of different names.