共用方式為


WorkflowApplicationInstance.CanApplyUpdate 方法

定義

傳回值,這個值表示 WorkflowApplicationInstance 是否能套用更新。

public:
 bool CanApplyUpdate(System::Activities::DynamicUpdate::DynamicUpdateMap ^ updateMap, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Activities::DynamicUpdate::ActivityBlockingUpdate ^> ^ % activitiesBlockingUpdate);
public bool CanApplyUpdate (System.Activities.DynamicUpdate.DynamicUpdateMap updateMap, out System.Collections.Generic.IList<System.Activities.DynamicUpdate.ActivityBlockingUpdate> activitiesBlockingUpdate);
member this.CanApplyUpdate : System.Activities.DynamicUpdate.DynamicUpdateMap * IList -> bool
Public Function CanApplyUpdate (updateMap As DynamicUpdateMap, ByRef activitiesBlockingUpdate As IList(Of ActivityBlockingUpdate)) As Boolean

參數

updateMap
DynamicUpdateMap

更新對應。

activitiesBlockingUpdate
IList<ActivityBlockingUpdate>

封鎖更新的活動。

傳回

如果 WorkflowApplicationInstance 可以套用更新,則為 true,否則為 false

適用於