Edit

Share via


WorkflowInstance.HostEnvironment Property

Definition

Gets or sets the root environment for the workflow instance's arguments and variables.

public:
 property System::Activities::LocationReferenceEnvironment ^ HostEnvironment { System::Activities::LocationReferenceEnvironment ^ get(); void set(System::Activities::LocationReferenceEnvironment ^ value); };
public System.Activities.LocationReferenceEnvironment HostEnvironment { get; set; }
member this.HostEnvironment : System.Activities.LocationReferenceEnvironment with get, set
Public Property HostEnvironment As LocationReferenceEnvironment

Property Value

The root environment for the workflow instance's arguments and variables.

Remarks

If this property is set after the workflow instance is initialized and IsReadOnly returns true, an InvalidOperationException is thrown.

Applies to