Contents
Display Legacy Contents

 Print
    AppCenter Log Event    
Logs an event in the AppCenter Analytics module. This is also referred as the TrackEvent function in the AppCenter documentation.

Parameters

Name <string>
The name of the event. This is Limited to 256 characters.

Priority
The event priority, it can be Normal or Critical.

Properties
A list of properties to with the event.
Each property as a
Name and a Value.
This is limited to 20 properties per event and 125 characters per event
property name & event property value.
You can send up to 200 distinct event names.

     
  • You should read the Microsoft App Center Documentation for further details and limitations as these can change in the future.
  • Events with priority set as Critical will be retrieved from storage first and sent before Normal events.
    When the local storage is full, and new events need to be stored, the oldest events with the lowest priority are deleted first.
    If the storage is full of logs with Critical priority, then tracking an event with Normal priority will fail as the SDK can't make room in that case.
    If you also use the Crashes service, crash logs are set as Critical and share the same storage as events
  • By default the local storage is limited to 10Mb, but you can change this value in the project properties.

See also
Samples

 
 
Updated : 1/11/2021 12:06 PM