TelemetrySession.GetContext(String) 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.
Gets a context by the given name.
public:
Microsoft::VisualStudio::Telemetry::TelemetryContext ^ GetContext(System::String ^ contextName);
public Microsoft.VisualStudio.Telemetry.TelemetryContext GetContext (string contextName);
member this.GetContext : string -> Microsoft.VisualStudio.Telemetry.TelemetryContext
Public Function GetContext (contextName As String) As TelemetryContext
Parameters
- contextName
- String
Returns
null if no context with such name.