Condividi tramite


Interfaccia ITracingService

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
Public Interface ITracingService
public interface ITracingService

Note

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.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Membri ITracingService
Spazio dei nomi Microsoft.Xrm.Sdk

Altre risorse

Debug a Plug-in
Sample: Web Access from a Sandboxed Plug-in
Plug-in Isolation, Trust, and Statistics

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.