共用方式為


plugintracelog EntityType

Description: Trace and exception information generated by plug-ins and custom workflow activities.

Entity Set path: [organization URI]/api/data/v8.0/plugintracelogs

Base Type: crmbaseentity EntityType

Display Name: Plug-in Trace Log

Primary Key: plugintracelogid

Primary Name Attribute: typename

Properties

Single-valued navigation properties

The plugintracelog entity type has no collection-valued navigation properties.

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the record.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the record.

Computed property

Read-only property

configuration

Edm.String

Description: Unsecured configuration for the plug-in trace log.

Display Name: Configuration

Read-only property

correlationid

Edm.Guid

Description: Unique identifier for tracking plug-in or custom workflow activity execution.

Display Name: Correlation Id

Read-only property

createdon

Edm.DateTimeOffset

Description: Date and time when the record was created.

Display Name: Created On

Read-only property

depth

Edm.Int32

Description: Depth of execution of the plug-in or custom workflow activity.

Display Name: Depth

Read-only property

exceptiondetails

Edm.String

Description: Details of the exception.

Display Name: Exception Details

Read-only property

issystemcreated

Edm.Boolean

Description: Where the event originated. Set to true if it's a system trace; otherwise, false.

Default Options:

1 : Yes
0 : No

Display Name: System Created

Read-only property

messageblock

Edm.String

Description: Trace text from the plug-in.

Display Name: Message Block

Read-only property

messagename

Edm.String

Description: Name of the message that triggered this plug-in.

Display Name: Message Name

Read-only property

mode

Edm.Int32

Description: Type of execution.

Default Options:

0 : Synchronous
1 : Asynchronous

Display Name: Mode

Read-only property

operationtype

Edm.Int32

Description: Type of custom code.

Default Options:

0 : Unknown
1 : Plug-in
2 : Workflow Activity

Display Name: Operation Type

Read-only property

organizationid

Edm.Guid

Description: Unique identifier for the organization.

Display Name: Organization Id

Read-only property

performanceconstructorduration

Edm.Int32

Description: Time, in milliseconds, to construct.

Display Name: Constructor Duration

Read-only property

performanceconstructorstarttime

Edm.DateTimeOffset

Description: Date and time when constructed.

Display Name: Constructor Start Time

Read-only property

performanceexecutionduration

Edm.Int32

Description: Time, in milliseconds, to execute the request.

Display Name: Execution Duration

Read-only property

performanceexecutionstarttime

Edm.DateTimeOffset

Description: Time, in milliseconds, to execute the request.

Display Name: Execution Start Time

Read-only property

persistencekey

Edm.Guid

Description: Asynchronous workflow persistence key.

Display Name: Persistence Key

Read-only property

pluginstepid

Edm.Guid

Description: ID of the plug-in registration step.

Display Name: Plugin Step ID

Read-only property

plugintracelogid

Edm.Guid

Description: Unique identifier for an entity instance.

Display Name: Plug-in Trace Log

Read-only property

primaryentity

Edm.String

Description: Entity, if any, that the plug-in is executed against.

Display Name: Primary Entity

Read-only property

profile

Edm.String

Description: Plug-in profile formatted as serialized text.

Display Name: Profile

Read-only property

requestid

Edm.Guid

Description: Unique identifier of the message request.

Display Name: Request ID

Read-only property

secureconfiguration

Edm.String

Description: Secured configuration for the plug-in trace log.

Display Name: Secure Configuration

Read-only property

typename

Edm.String

Description: Class name of the plug-in.

Display Name: Type Name

Read-only property

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

Name Type Partner

createdby

systemuser EntityType

createdby_plugintracelog

createdonbehalfby

systemuser EntityType

lk_plugintracelogbase_createdonbehalfby

請參閱

其他資源

Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.