WorkflowRuntime::Name Property
.NET Framework (current version)
Gets or sets the name associated with the WorkflowRuntime.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | An attempt to set Name on a WorkflowRuntime that is disposed occurs. |
| InvalidOperationException | An attempt to set Name while the workflow run-time engine is running occurs. |
The following example demonstrates how to access the Name property of a WorkflowRuntime object. In this example, the name of the runtime is set to "Main Runtime".
.NET Framework
Available since 3.0
Available since 3.0
Show: