ClientAnalyticsChannel.LogEvent, méthode (String)

Signale un événement au service Application Insights.

Espace de noms :  Microsoft.ApplicationInsights.Telemetry.WindowsStore
Assembly :  Microsoft.ApplicationInsights.Telemetry.WindowsStore (dans Microsoft.ApplicationInsights.Telemetry.WindowsStore.dll)

Syntaxe

'Déclaration
Public Sub LogEvent ( _
    eventName As String _
)
public void LogEvent(
    string eventName
)
public:
virtual void LogEvent(
    String^ eventName
) sealed
abstract LogEvent : 
        eventName:string -> unit 
override LogEvent : 
        eventName:string -> unit 
public final function LogEvent(
    eventName : String
)

Paramètres

  • eventName
    Type : String
    Nom de l'événement.Pour hiérarchiser les événements dans les rapports, utilisez des noms comme « parent/enfant ».

Implémentations

IClientAnalyticsChannel.LogEvent(String)

Sécurité .NET Framework

  • Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir dd66cd4c-b087-415f-9c3e-94e3a1835f74.

Voir aussi

Référence

ClientAnalyticsChannel Classe

LogEvent, surcharge

Microsoft.ApplicationInsights.Telemetry.WindowsStore, espace de noms