WorkflowInstance.HostEnvironment 属性

定义

获取或设置工作流实例的自变量和变量的根环境。

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

属性值

LocationReferenceEnvironment

工作流实例的参数和变量的根环境。

注解

如果在初始化并返回工作流实例后设置此属性 IsReadOnly trueInvalidOperationException 则会引发。

适用于