Dela via


TraceLogger Class

 

Applies To: Dynamics CRM 2015

Class for Trace logger.

Namespace:   Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly:  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger

Syntax

public class TraceLogger
public ref class TraceLogger 
type TraceLogger = class end
Public Class TraceLogger

Constructors

Name Description
System_CAPS_pubmethod TraceLogger(String)

Constructor.

Properties

Name Description
System_CAPS_pubproperty CurrentTraceLevel

Returns the trace source level for the current logger.

System_CAPS_pubproperty LastError

Last Error from CRM.

System_CAPS_pubproperty LastException

Last Exception from CRM .

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_pubmethod Log(Exception)

Log an error with an Exception.

System_CAPS_pubmethod Log(String)

Log a Message.

System_CAPS_pubmethod Log(String, TraceEventType)

Log a Trace event.

System_CAPS_pubmethod Log(String, TraceEventType, Exception)

Log a Trace event.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ResetLastError()

Last error reset.

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.PackageDeployment.CrmPackageExtentionBase Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright