Share via


TelemetryContext.PostProperty(String, Object) Method

Definition

Post regular context property. That property is posted to the backend immediately and not attached to the every event. You may want to consider TelemetrySettingProperty or TelemetryMetricProperty These will enable a richer telemetry experience with additional insights provided by Visual Studio Data Model. If you have any questions regarding VS Data Model, please email VS Data Model Crew (vsdmcrew@microsoft.com).

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

Parameters

propertyName
String
propertyValue
Object

Applies to