IClientAnalyticsChannel.StartTimedEvent Method (String)

Create an event timer. Use the returned object to log the end of the event.

Namespace:  Microsoft.ApplicationInsights.Telemetry.WindowsStore
Assembly:  Microsoft.ApplicationInsights.Telemetry.WindowsStore (in Microsoft.ApplicationInsights.Telemetry.WindowsStore.dll)

Syntax

'Declaration
Function StartTimedEvent ( _
    eventName As String _
) As TimedAnalyticsEvent
TimedAnalyticsEvent StartTimedEvent(
    string eventName
)
TimedAnalyticsEvent^ StartTimedEvent(
    String^ eventName
)
abstract StartTimedEvent : 
        eventName:string -> TimedAnalyticsEvent
function StartTimedEvent(
    eventName : String
) : TimedAnalyticsEvent

Parameters

  • eventName
    Type: System.String

    Your name for the event. To arrange events in a hierarchy in the reports, use names like 'parent/child'.

Return Value

Type: Microsoft.ApplicationInsights.Telemetry.WindowsStore.TimedAnalyticsEvent Timer object that you can End to log the event, or Cancel.

.NET Framework Security

See Also

Reference

IClientAnalyticsChannel Interface

StartTimedEvent Overload

Microsoft.ApplicationInsights.Telemetry.WindowsStore Namespace