IPropertyRegistrationCallback 介面

定義

允許工作流程執行屬性提供自訂註冊和移除註冊邏輯。Allows a workflow execution property to provide custom registration and un-registration logic.

public interface class IPropertyRegistrationCallback
public interface IPropertyRegistrationCallback
type IPropertyRegistrationCallback = interface
Public Interface IPropertyRegistrationCallback
衍生

方法

Register(RegistrationContext)

在透過 Add 加入工作流程執行屬性時呼叫。Called when a workflow execution property is added through Add. 這會提供屬性的驗證攔截。This provides a validation hook for the property.

Unregister(RegistrationContext)

在工作流程執行屬性超出範圍時呼叫。Called when a workflow execution property goes out of scope.

適用於