Show / Hide Table of Contents

    Class CallerInfo

    Class that encapsulates the caller's (creator's) information

    Inheritance
    Object
    CallerInfo
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Graph.Communications.Common.Telemetry
    Assembly: Microsoft.Graph.Communications.Common.dll
    Syntax
    public class CallerInfo

    Constructors

    CallerInfo(String, String, Int32)

    Initializes a new instance of the CallerInfo class.

    Declaration
    public CallerInfo(string memberName = "", string filePath = "", int lineNumber = 0)
    Parameters
    Type Name Description
    String memberName

    Name of the member.

    String filePath

    The file path.

    Int32 lineNumber

    The line number.

    Methods

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    Object.GetHashCode()

    ToString()

    Returns a String that represents the caller info.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A String that represents the caller info.

    Overrides
    Object.ToString()

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.