NetworkMetricsOptions.CustomDimensions Property

Definition

Gets or sets a collection of custom dimensions to include in the network metrics. Each dimension is defined as a key-value pair.

public System.Collections.Generic.IDictionary<string,string> CustomDimensions { get; set; }
member this.CustomDimensions : System.Collections.Generic.IDictionary<string, string> with get, set
Public Property CustomDimensions As IDictionary(Of String, String)

Property Value

Examples

var telemetryOptions = new NetworkMetricsOptions
{
    CustomDimensions = new Dictionary<string, string>
    {
        { "Region", "EastUS" },
    }
};

Applies to