Jagamisviis:


TraceLogger Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Namespace:   Microsoft.Xrm.Tooling.WebResourceUtility
Assembly:  Microsoft.Xrm.Tooling.WebResourceUtility (in Microsoft.Xrm.Tooling.WebResourceUtility.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Tooling.Connector.TraceLoggerBase
    Microsoft.Xrm.Tooling.WebResourceUtility.TraceLogger

Syntax

public class TraceLogger : TraceLoggerBase
Public Class TraceLogger
    Inherits TraceLoggerBase

Constructors

Name Description
System_CAPS_pubmethod TraceLogger(String)

Properties

Name Description
System_CAPS_pubproperty CurrentTraceLevel

(Inherited from TraceLoggerBase.)

System_CAPS_pubproperty LastError

(Inherited from TraceLoggerBase.)

System_CAPS_pubproperty LastException

(Inherited from TraceLoggerBase.)

System_CAPS_protproperty Source

(Inherited from TraceLoggerBase.)

System_CAPS_protproperty TraceSourceName

(Inherited from TraceLoggerBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Initialize()

(Inherited from TraceLoggerBase.)

System_CAPS_pubmethod Log(Exception)

Log an error with an Exception(Overrides TraceLoggerBase.Log(Exception).)

System_CAPS_pubmethod Log(String)

Log a Message(Overrides TraceLoggerBase.Log(String).)

System_CAPS_pubmethod Log(String, TraceEventType)

Log a Trace event(Overrides TraceLoggerBase.Log(String, TraceEventType).)

System_CAPS_pubmethod Log(String, TraceEventType, Exception)

Log a Trace event(Overrides TraceLoggerBase.Log(String, TraceEventType, Exception).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RefreshListeners(List<TraceSourceSetting>)

(Inherited from TraceLoggerBase.)

System_CAPS_pubmethod ResetLastError()

(Overrides TraceLoggerBase.ResetLastError().)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Tooling.WebResourceUtility Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright