ErrorLogger Class

 

Applies To: Dynamics CRM 2015

Used to log errors to disk as part of connection logic for debugging or reporting an error concerning connecting to CRM

Namespace:   Microsoft.Xrm.Tooling.CrmConnectControl.Utility
Assembly:  Microsoft.Xrm.Tooling.CrmConnectControl (in Microsoft.Xrm.Tooling.CrmConnectControl.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Tooling.CrmConnectControl.Utility.ErrorLogger

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod ErrorLogger()

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static LogfileDirectoryOverride

If Set, the directory requested here is used to set the

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_pubmethodSystem_CAPS_static LaunchLogFile()

Loads the log file in Notepad

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static WriteToFile(Exception)

Writes a Exception to the log file.

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.CrmConnectControl.Utility Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright