Udostępnij za pośrednictwem


UserContext Class

Definition

Encapsulates information about a user using an application.

public ref class UserContext sealed : Microsoft::VisualStudio::ApplicationInsights::DataContracts::IJsonSerializable
public sealed class UserContext : Microsoft.VisualStudio.ApplicationInsights.DataContracts.IJsonSerializable
type UserContext = class
    interface IJsonSerializable
Public NotInheritable Class UserContext
Implements IJsonSerializable
Inheritance
UserContext
Implements

Properties

AccountId

Gets or sets the ID of an application-defined account associated with the user.

AcquisitionDate

Gets or sets the date when the user accessed the application for the first time.

Id

Gets or sets the ID of user accessing the application.

UserAgent

Gets or sets the UserAgent of an application-defined account associated with the user.

Explicit Interface Implementations

IJsonSerializable.Serialize(IJsonWriter)

Applies to