WorkflowInstance.HostEnvironment 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定工作流程執行個體引數和變數的根環境。
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
屬性值
工作流程實例之引數和變數的根環境。
備註
如果在初始化並傳回工作流程實例之後設定此屬性 IsReadOnly true
, InvalidOperationException 則會擲回。