IExecutionContext

From this object, you can query all the property values associated with the entity and event context where the method is being executed.

This class contains the following properties:

BusinessUnitId

CorrelationId

Depth

InitiatingUserId

InputParameters

IsExecutingOffline

IsInTransaction

IsOfflinePlayback

IsolationMode

MessageName

Mode

• OperationCreatedOn

OperationId

OrganizationId

OrganizationName

OutputParameters

OwningExtension

PostEntityImages

PreEntityImages

PrimaryEntityId

PrimaryEntityName

RequestId

SecondaryEntityName

SharedVariables

UserId

BusinessUnitId

This property returns the GUID (Global Unique Identifier) of the business unit of the entity. Notice that this is not ...

Get Microsoft Dynamics CRM 2011 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.