Skip to end of metadata
Go to start of metadata

Represents the contexts for telemetry.

Definition

public class TelemetryContext

Summary

The following table summarizes the members exposed in this class.

Public Constructors

TelemetryContext Constructor() Initializes a new instance of the TelemetryContext class.

Public Properties

Device Gets or sets the device context.
InstrumentationKey Gets or sets the instrumentation key.
Location Gets or sets the location context.
Operation Gets or sets the operation context.
Properties Gets a dictionary of application-defined property names and values providing additional information about this event.
Session Gets or sets the session context.
User Gets or sets the user context.

Public Constructors

public TelemetryContext()

Initializes a new instance of the TelemetryContext class.

Public Properties

public DeviceContext Device { get; set; }

Gets or sets the device context.

public string InstrumentationKey { get; set; }

Gets or sets the instrumentation key.

public LocationContext Location { get; set; }

Gets or sets the location context.

public OperationContext Operation { get; set; }

Gets or sets the operation context.

public IDictionary<string, string> Properties { get; set; }

Gets a dictionary of application-defined property names and values providing additional information about this event.

public SessionContext Session { get; set; }

Gets or sets the session context.

public UserContext User { get; set; }

Gets or sets the user context.

  • No labels