TelemetrySession.AddCommonPropertyRange Method

Definition

Add properties that may be common to all events for the session, but should not have the Default.Context prefix. Properties are not persisted between sessions. To add a single property see TryAddCommonProperty(String, Object)

public void AddCommonPropertyRange(System.Collections.Generic.IDictionary<string,object> properties);
member this.AddCommonPropertyRange : System.Collections.Generic.IDictionary<string, obj> -> unit
Public Sub AddCommonPropertyRange (properties As IDictionary(Of String, Object))

Parameters

properties
IDictionary<String,Object>

Exceptions

Thrown when properties, key, or value is null

Thrown when property key or value is null

Applies to