共用方式為


TraceLogger Constructors

Definition

Overloads

TraceLogger(TraceSource)

Internal reference to add a trace source configured from elsewhere. this is built to support Package Deployers PowerShell module

TraceLogger(String)

Constructor.

TraceLogger(TraceSource)

Internal reference to add a trace source configured from elsewhere. this is built to support Package Deployers PowerShell module

public:
 TraceLogger(System::Diagnostics::TraceSource ^ preconfiguredSource);
public TraceLogger (System.Diagnostics.TraceSource preconfiguredSource);
new Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger : System.Diagnostics.TraceSource -> Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger
Public Sub New (preconfiguredSource As TraceSource)

Parameters

preconfiguredSource
TraceSource

Applies to

TraceLogger(String)

Constructor.

public:
 TraceLogger(System::String ^ traceSourceName);
public TraceLogger (string traceSourceName);
new Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger : string -> Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger
Public Sub New (traceSourceName As String)

Parameters

traceSourceName
String

trace source name

Applies to