FakeWorkflowContext - класс |
Пространство имён: PZone.Xrm.Testing.Workflow
public class FakeWorkflowContext : IWorkflowContext, IExecutionContext
Тип FakeWorkflowContext предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| FakeWorkflowContext |
Конструтор класса без параметров.
| |
| FakeWorkflowContext(Entity) |
Конструтор класса с указанием основной сущности.
|
| Имя | Описание | |
|---|---|---|
| BusinessUnitId | Gets the GUIDGUID of the business unit that the user making the request, also known as the calling user, belongs to. | |
| CorrelationId | Gets the GUID for tracking plug-in or custom workflow activity execution. | |
| Depth | Gets the current depth of execution in the call stack. | |
| InitiatingUserId | Gets the GUID of the system user account under which the current pipeline is executing. | |
| InputParameters | Gets the parameters of the request message that triggered the event that caused the plug-in to execute. | |
| IsExecutingOffline | Gets whether the plug-in is executing from the Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access client while it is offline. | |
| IsInTransaction | Gets a value indicating if the plug-in is executing within the database transaction. | |
| IsOfflinePlayback | Gets a value indicating if the plug-in is executing as a result of the Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access client transitioning from offline to online and synchronizing with the Microsoft Dynamics 365 server. | |
| IsolationMode | Gets a value indicating if the plug-in is executing in the sandbox. | |
| MessageName | Gets the name of the Web service message that is being processed by the event execution pipeline. | |
| Mode | Gets the mode of plug-in execution. | |
| OperationCreatedOn | Gets the date and time that the related System Job was created. | |
| OperationId | Gets the GUID of the related System Job. | |
| OrganizationId | Gets the GUID of the organization that the entity belongs to and the plug-in executes under. | |
| OrganizationName | Gets the unique name of the organization that the entity currently being processed belongs to and the plug-in executes under. | |
| OutputParameters | Gets the parameters of the response message after the core platform operation has completed. | |
| OwningExtension | Gets a reference to the related SdkMessageProcessingingStep or ServiceEndpoint. | |
| ParentContext | Gets the parent context. | |
| PostEntityImages | Gets the properties of the primary entity after the core platform operation has been completed. | |
| PreEntityImages | Gets the properties of the primary entity before the core platform operation has begins. | |
| PrimaryEntityId |
Идентификатор основной сущности.
| |
| PrimaryEntityName |
Имя основной сущности.
| |
| RequestId | Gets the GUID of the request being processed by the event execution pipeline. | |
| SecondaryEntityName | Gets the name of the secondary entity that has a relationship with the primary entity. | |
| SharedVariables | Gets the custom properties that are shared between plug-ins. | |
| StageName | Gets the stage information of the process instance. | |
| UserId | Gets the GUID of the system user for whom the plug-in invokes web service methods on behalf of. | |
| WorkflowCategory | Gets the process category information of the process instance: workflow or dialog. | |
| WorkflowMode | Indicates how the workflow is to be executed. |
| Имя | Описание | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object.) | |
| GetHashCode | Serves as the default hash function. (Унаследован от Object.) | |
| GetType | Gets the Type of the current instance. (Унаследован от Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
| ToString | Returns a string that represents the current object. (Унаследован от Object.) |