Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
TelemetryEvent Class Reference

A single telemetry event. More...

#include <telemetry_event.h>

Inheritance diagram for TelemetryEvent:
Event

Additional Inherited Members

- Public Member Functions inherited from Event
virtual const std::string & GetName () const =0
 Get event name.
 
virtual EventLevel GetLevel () const =0
 Get level of event, indicating whether it is considered necessary service data (NSD) or not.
 
virtual const std::chrono::steady_clock::time_point & GetStartTime () const =0
 Get event start time.
 
virtual void AddProperty (const std::shared_ptr< EventProperty > &prop)=0
 Add a property to the event.
 
virtual void AddProperty (const std::string &name, bool value)=0
 Add a bool property to the event.
 
virtual void AddProperty (const std::string &name, double value, Pii pii)=0
 Add a double property to the event.
 
virtual void AddProperty (const std::string &name, int64_t value, Pii pii)=0
 Add an int64 property to the event.
 
virtual void AddProperty (const std::string &name, const std::string &value, Pii pii)=0
 Add a string property to the event.
 
virtual void AddAuditOnlyProperty (const std::string &name, const std::string &value)=0
 Add an audit-only string property to the event.
 
virtual std::vector< std::shared_ptr< EventProperty > > GetProperties () const =0
 Get all event properties.
 
virtual std::shared_ptr< EventPropertyGetProperty (const std::string &name) const =0
 Get property with the given name, if any.
 

Detailed Description

A single telemetry event.


The documentation for this class was generated from the following file: