StoreServicesCustomEventLogger.Log(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs a custom event from your app to Partner Center.
public:
virtual void Log(Platform::String ^ eventName) = Log;
void Log(winrt::hstring const& eventName);
public void Log(string eventName);
function log(eventName)
Public Sub Log (eventName As String)
Parameters
- eventName
-
String
Platform::String
winrt::hstring
The name of the custom event to send to Partner Center.
Remarks
Custom events that you log using this method will appear in the Custom events section of the Usage report in Partner Center.
Before you can use this method in your code, you must first install the Microsoft Store Services SDK and add a reference to the Microsoft Engagement Framework to your project. For more guidance about how to use this method, including a code example, see Log custom events for Partner Center.