I'm writing an ArcGIS Pro add-in and would like to view items in the geoprocessing history. I see in the SDK docs there is a HistoryProjectItem class that offers pretty much exactly what I need. I can access it while debugging in Visual Studio, but as you can see in the docs it's a public sealed class and has a note "public acess Deprecated at 2.1." I'm new to C# but it seems this means I cannot access the HistoryProjectItem class in my add-in code? If that is the case, was this deprecated in favor of another method of accessing the geoprocessing history using the SDK?
I am aware of the option to write the history to a log file, but requiring my users to have that option enabled and then parsing the log file every time that my add-in gets opened is not optimal.