Search Results for

    Show / Hide Table of Contents

    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer