Κοινή χρήση μέσω


ITracingService Interface

 

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

Provides a method of logging run-time trace information for plug-ins.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public interface ITracingService
Public Interface ITracingService

Methods

Name Description
System_CAPS_pubmethod Trace(String, Object[])

Logs trace information.

Remarks

A reference to a tracing service implementation can be obtained from the service provider passed to plug-in’s Execute method.

The ITracingService interface provides a way to log plug-in run-time information. This method of logging information is especially useful for sandboxed plug-ins registered with Microsoft Dynamics 365 (online) that cannot otherwise be debugged using a debugger.

The tracing information is displayed in a dialog of the Microsoft Dynamics 365 Web application only if an exception is passed from a plug-in back to the platform.

See Also

Microsoft.Xrm.Sdk Namespace
Debug a plug-In
Sample: Web access from a sandboxed plug-in
Plug-in isolation, trusts, and statistics

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright