Class PageTelemetry
Class handling telemetry
Inheritance
System.Object
PageTelemetry
Namespace: PnP.Framework.Modernization.Telemetry
Assembly: PnP.Framework.dll
Syntax
public class PageTelemetry : object
Constructors
PageTelemetry(String)
Instantiates the telemetry client
Declaration
public PageTelemetry(string version)
Parameters
System.String
version
|
Methods
Flush()
Ensure telemetry data is send to server
Declaration
public void Flush()
LogError(Exception, String)
Logs a page transformation error
Declaration
public void LogError(Exception ex, string location)
Parameters
Exception
ex
Exception object |
System.String
location
Location that generated this error |
LogTransformationDone(TimeSpan, String, BaseTransformationInformation)
Sends a transformation done event
Declaration
public void LogTransformationDone(TimeSpan duration, string pageType, BaseTransformationInformation baseTransformationInformation)
Parameters
TimeSpan
duration
Duration of the page transformation |
System.String
pageType
Type of page that was transformed |
BaseTransformationInformation
baseTransformationInformation
Information about the transformation |