Share via


TelemetrySession.SetSharedProperty(String, Object) Method

Definition

Set shared property for the session means set shared property for the default context 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 SetSharedProperty(System::String ^ propertyName, System::Object ^ propertyValue);
public void SetSharedProperty (string propertyName, object propertyValue);
member this.SetSharedProperty : string * obj -> unit
Public Sub SetSharedProperty (propertyName As String, propertyValue As Object)

Parameters

propertyName
String
propertyValue
Object

Applies to