Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Gets the currently executing process from the engine in dynamic object form.

You can save changes to the process by altering this object and passing it to the SaveProcessDynamic function.

public dynamic GetProcessDynamic();

Classes: Process


Returns

dynamic

Dynamic process object.


Example

The following example demonstrates how to get a dynamic process object off of a Process, and log its LastActionUser, a stored property on the process.

var dynamic = Process.GetProcessDynamic();
LogHistory(dynamic.LastActionUser);

Remarks

The changes made to this process are not saved unless you pass the updated dynamic process back to the SaveProcessDynamic method.

  • No labels