TelemetrySession.SetSharedProperty(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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