Search Results for

    Show / Hide Table of Contents

    Class PnPMonitoredScope

    Class holds the methods for logging on PnP Monitoring

    Inheritance
    System.Object
    TreeNode<PnPMonitoredScope>
    PnPMonitoredScope
    Inherited Members
    TreeNode<PnPMonitoredScope>.ParentNode
    TreeNode<PnPMonitoredScope>.Parent
    TreeNode<PnPMonitoredScope>.SetParent(ITreeNode<PnPMonitoredScope>, Boolean)
    TreeNode<PnPMonitoredScope>.Root
    TreeNode<PnPMonitoredScope>.Children
    TreeNode<PnPMonitoredScope>.ChildNodes
    TreeNode<PnPMonitoredScope>.Descendants
    TreeNode<PnPMonitoredScope>.Subtree
    TreeNode<PnPMonitoredScope>.Ancestors
    TreeNode<PnPMonitoredScope>.Height
    TreeNode<PnPMonitoredScope>.Value
    TreeNode<PnPMonitoredScope>.Depth
    TreeNode<PnPMonitoredScope>.ToString()
    Namespace: PnP.Framework.Diagnostics
    Assembly: PnP.Framework.dll
    Syntax
    public sealed class PnPMonitoredScope : TreeNode<PnPMonitoredScope>, ITreeNode<PnPMonitoredScope>, ITreeNode

    Constructors

    PnPMonitoredScope()

    Constructor for PnPMonitoredScope class

    Declaration
    public PnPMonitoredScope()

    PnPMonitoredScope(String)

    Constructor for PnPMonitoredScope class

    Declaration
    public PnPMonitoredScope(string name)
    Parameters
    System.String name

    Source name

    Properties

    CorrelationId

    Gets Correlation Guid

    Declaration
    public Guid CorrelationId { get; }
    Property Value
    Guid

    Name

    Gets or sets the source name

    Declaration
    public string Name { get; set; }
    Property Value
    System.String

    Methods

    Dispose()

    Declaration
    public void Dispose()

    LogDebug(Exception, String, Object[])

    Debug Log

    Declaration
    public void LogDebug(Exception ex, string message, params object[] args)
    Parameters
    Exception ex

    Exception object

    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogDebug(String, Object[])

    Debug Log

    Declaration
    public void LogDebug(string message, params object[] args)
    Parameters
    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogError(Exception, String, Object[])

    Logs Error

    Declaration
    public void LogError(Exception ex, string message, params object[] args)
    Parameters
    Exception ex

    Exception object

    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogError(String, Object[])

    Logs Error

    Declaration
    public void LogError(string message, params object[] args)
    Parameters
    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogInfo(Exception, String, Object[])

    Logs Information

    Declaration
    public void LogInfo(Exception ex, string message, params object[] args)
    Parameters
    Exception ex

    Exception object

    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogInfo(String, Object[])

    Logs Information

    Declaration
    public void LogInfo(string message, params object[] args)
    Parameters
    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogWarning(Exception, String, Object[])

    Logs Warning

    Declaration
    public void LogWarning(Exception ex, string message, params object[] args)
    Parameters
    Exception ex

    Exception object

    System.String message

    Message string

    System.Object[] args

    Arguments object

    LogWarning(String, Object[])

    Logs Warning

    Declaration
    public void LogWarning(string message, params object[] args)
    Parameters
    System.String message

    Message string

    System.Object[] args

    Arguments object

    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