Поделиться через


ITracingService Interface

 

Applies To: Dynamics CRM 2015

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 class ITracingService
type ITracingService = interface end
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 CRM Online that cannot otherwise be debugged using a debugger.

The tracing information is displayed in a dialog of the Microsoft Dynamics CRM 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

© 2016 Microsoft. All rights reserved. Copyright