อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ContextItemManager.Unsubscribe Method

Definition

Overloads

Unsubscribe(Type, SubscribeContextCallback)

When overridden in a derived class, removes a subscription.

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Removes a subscription.

Unsubscribe(Type, SubscribeContextCallback)

When overridden in a derived class, removes a subscription.

C#
public abstract void Unsubscribe(Type contextItemType, System.Activities.Presentation.SubscribeContextCallback callback);

Parameters

contextItemType
Type

The type of context item to remove the callback from.

Exceptions

callback is null.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Removes a subscription.

C#
public void Unsubscribe<TContextItemType>(System.Activities.Presentation.SubscribeContextCallback<TContextItemType> callback) where TContextItemType : System.Activities.Presentation.ContextItem;

Type Parameters

TContextItemType

The type of context item to remove the callback from.

Parameters

Exceptions

callback is null.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1