WorkflowInstance.HostEnvironment 属性
定义
获取或设置工作流实例的自变量和变量的根环境。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
属性值
工作流实例的参数和变量的根环境。The root environment for the workflow instance's arguments and variables.
注解
如果在初始化并返回工作流实例后设置此属性 IsReadOnly true , InvalidOperationException 则会引发。If this property is set after the workflow instance is initialized and IsReadOnly returns true, an InvalidOperationException is thrown.