IClientAnalyticsChannel.LogEvent Method (String, IDictionary<String, Object>)

Reports an event to the Application Insights service.

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

Syntax

'Declaration
Sub LogEvent ( _
    eventName As String, _
    properties As IDictionary(Of String, Object) _
)
void LogEvent(
    string eventName,
    IDictionary<string, Object> properties
)
void LogEvent(
    String^ eventName, 
    IDictionary<String^, Object^>^ properties
)
abstract LogEvent : 
        eventName:string * 
        properties:IDictionary<string, Object> -> unit
function LogEvent(
    eventName : String, 
    properties : IDictionary<String, Object>
)

Parameters

  • eventName
    Type: System.String

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

.NET Framework Security

See Also

Reference

IClientAnalyticsChannel Interface

LogEvent Overload

Microsoft.ApplicationInsights.Telemetry.WindowsStore Namespace