StoreServicesCustomEventLogger class
Provides members you can use to log events from your app to Windows Dev Center.
Syntax
public ref class StoreServicesCustomEventLogger sealed
Members
The StoreServicesCustomEventLogger class has these types of members:
Methods
The StoreServicesCustomEventLogger class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
| Method | Description |
|---|---|
| GetDefault |
Gets a StoreServicesCustomEventLogger object that you can use to send log data to Windows Dev Center for the current user of the app. |
| Log |
Logs a custom event from your app to Windows Dev Center. |
| LogForVariation |
Logs a view or conversion event for an A/B test from your app to Windows Dev Center. |
Remarks
Use the Log method to log custom events from your app. These events will appear in the Custom events section of the Usage report in the Windows Dev Center dashboard.
If you have configured an app experiment with A/B testing on the Windows Dev Center dashboard, use the LogForVariation method to log data about view and conversion events from your app to the dashboard.
To get a StoreServicesCustomEventLogger object, use the GetDefault method. This type is available in the Microsoft Store Services SDK.
Requirements
|
Minimum supported client |
Windows 10 [Windows Store apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows 10 Mobile |
|
Namespace |
|
|
Metadata |
|
Attributes
- [MarshalingBehavior(Agile)]
- [Threading(Both)]
- [Version]
See also