TelemetryPiiProperty Class

Definition

This class represents a personally identifiable information property. During processing the raw value contained will be turned into a hashed value by a cryptology algorithm.

public ref class TelemetryPiiProperty
public class TelemetryPiiProperty
public class TelemetryPiiProperty : Microsoft.VisualStudio.Telemetry.TelemetryHashedProperty
type TelemetryPiiProperty = class
type TelemetryPiiProperty = class
    inherit TelemetryHashedProperty
Public Class TelemetryPiiProperty
Public Class TelemetryPiiProperty
Inherits TelemetryHashedProperty
Inheritance
TelemetryPiiProperty
Inheritance
TelemetryPiiProperty

Constructors

TelemetryPiiProperty(Object)

Creates the Pii Object and converts to string. Throws if val is null.

Properties

RawValue

Gets the raw value contained as the property value. We need the raw value since we want measurements for them, if available.

RawValue

Gets the raw value contained as the property value. We need the raw value since we want measurements for them, if available.

(Inherited from TelemetryHashedProperty)
StringValue

Gets the string value contained to be hashed. We pre-ToString the value, since we need InvariantCulture to guarantee that values like double always produce the same results.

StringValue

Gets the string value contained to be hashed. We pre-ToString the value, since we need InvariantCulture to guarantee that values like double always produce the same results.

(Inherited from TelemetryHashedProperty)

Methods

ToString()

ToString to make debugging easier: show in debug watch window

Applies to