Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
A single telemetry event. More...
#include <telemetry_event.h>
Additional Inherited Members | |
![]() | |
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< EventProperty > | GetProperty (const std::string &name) const =0 |
Get property with the given name, if any. | |
A single telemetry event.