Method SetDynamicWorkspaces
SetDynamicWorkspaces(IEnumerable<DynamicWorkspace>)
Sets the dynamic workspaces for this service.
Declaration
public void SetDynamicWorkspaces(IEnumerable<DynamicWorkspace> dynamicWorkspaces)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<DynamicWorkspace> | dynamicWorkspaces | the workspaces. |
Remarks
This can only be set when the service is in the Stopped state. Setting this will replace any previously set values.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | dynamicWorkspaces cannot be set if the service is not in the stopped state. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |