Compartilhar via


TelemetrySession.GetContext(String) Method

Definition

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.

Applies to