ContextItemManager.Subscribe ContextItemManager.Subscribe ContextItemManager.Subscribe ContextItemManager.Subscribe Method

정의

오버로드

Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback)

파생 클래스에서 재정의된 경우 지정한 항목 형식의 컨텍스트 항목이 변경될 호출되는 이벤트 콜백을 추가합니다.When overridden in a derived class, adds an event callback that is invoked when a context item of the specified item type changes.

Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

지정한 항목 형식의 컨텍스트 항목이 변경될 때 호출되는 이벤트 콜백을 추가합니다.Adds an event callback that is invoked when a context item of the specified item type changes.

Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback) Subscribe(Type, SubscribeContextCallback)

파생 클래스에서 재정의된 경우 지정한 항목 형식의 컨텍스트 항목이 변경될 호출되는 이벤트 콜백을 추가합니다.When overridden in a derived class, adds an event callback that is invoked when a context item of the specified item type changes.

public:
 abstract void Subscribe(Type ^ contextItemType, System::Activities::Presentation::SubscribeContextCallback ^ callback);
public abstract void Subscribe (Type contextItemType, System.Activities.Presentation.SubscribeContextCallback callback);
abstract member Subscribe : Type * System.Activities.Presentation.SubscribeContextCallback -> unit
Public MustOverride Sub Subscribe (contextItemType As Type, callback As SubscribeContextCallback)

매개 변수

contextItemType
Type Type Type Type

구독할 항목의 형식입니다.The type of item you want to subscribe to.

callback
SubscribeContextCallback SubscribeContextCallback SubscribeContextCallback SubscribeContextCallback

SubscribeContextCallback이 변경될 때 호출되는 contextItemType입니다.The SubscribeContextCallback that is invoked when contextItemType changes.

예외

contextItemType 또는 callbacknull인 경우contextItemType or callback is null.

Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) Subscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

지정한 항목 형식의 컨텍스트 항목이 변경될 때 호출되는 이벤트 콜백을 추가합니다.Adds an event callback that is invoked when a context item of the specified item type changes.

public:
generic <typename TContextItemType>
 where TContextItemType : System::Activities::Presentation::ContextItem void Subscribe(System::Activities::Presentation::SubscribeContextCallback<TContextItemType> ^ callback);
public void Subscribe<TContextItemType> (System.Activities.Presentation.SubscribeContextCallback<TContextItemType> callback) where TContextItemType : System.Activities.Presentation.ContextItem;
member this.Subscribe : System.Activities.Presentation.SubscribeContextCallback<'ContextItemType (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)> -> unit (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)
Public Sub Subscribe(Of TContextItemType As ContextItem) (callback As SubscribeContextCallback(Of TContextItemType))

형식 매개 변수

TContextItemType

구독할 항목의 형식입니다.The type of item you want to subscribe to.

매개 변수

예외

contextItemType 또는 callbacknull인 경우contextItemType or callback is null.

적용 대상