StoreAppUserInitializer.Initialize Method

Initializes Id property of the User telemetry and updates the IsFirst property of the SessionContext.

Namespace: Microsoft.ApplicationInsights.Extensibility
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)

Usage

'Usage
Dim instance As StoreAppUserInitializer
Dim telemetry As ITelemetry

instance.Initialize(telemetry)

Syntax

'Declaration
Public Sub Initialize ( _
    telemetry As ITelemetry _
)
public void Initialize (
    ITelemetry telemetry
)
public:
virtual void Initialize (
    ITelemetry^ telemetry
) sealed
public final void Initialize (
    ITelemetry telemetry
)
public final function Initialize (
    telemetry : ITelemetry
)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8, Windows Server 2012

See Also

Reference

StoreAppUserInitializer Class
StoreAppUserInitializer Members
Microsoft.ApplicationInsights.Extensibility Namespace