TelemetrySession.PostRecurringProperty(String, Object) Method

Definition

Adds a property to be included on the regularly recurring VS/TelemetryApi/RecurringProperties event. Unlike PostProperty or TelemetryContext.PostProperty, PostRecurringProperty does not add the given property to every event. PostRecurringProperty is most useful for values that are constant for the lifetime of a TelemetrySession.

public:
 void PostRecurringProperty(System::String ^ propertyName, System::Object ^ propertyValue);
public void PostRecurringProperty (string propertyName, object propertyValue);
member this.PostRecurringProperty : string * obj -> unit
Public Sub PostRecurringProperty (propertyName As String, propertyValue As Object)

Parameters

propertyName
String
propertyValue
Object

Applies to