ContextItemManager.Unsubscribe Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
Unsubscribe(Type, SubscribeContextCallback) |
Saat ditimpa di kelas turunan, menghapus langganan. |
Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) |
Menghapus langganan. |
Unsubscribe(Type, SubscribeContextCallback)
Saat ditimpa di kelas turunan, menghapus langganan.
public:
abstract void Unsubscribe(Type ^ contextItemType, System::Activities::Presentation::SubscribeContextCallback ^ callback);
public abstract void Unsubscribe (Type contextItemType, System.Activities.Presentation.SubscribeContextCallback callback);
abstract member Unsubscribe : Type * System.Activities.Presentation.SubscribeContextCallback -> unit
Public MustOverride Sub Unsubscribe (contextItemType As Type, callback As SubscribeContextCallback)
Parameter
- contextItemType
- Type
Jenis item konteks untuk menghapus panggilan balik.
- callback
- SubscribeContextCallback
yang SubscribeContextCallback akan dihapus.
Pengecualian
callback
adalah null
.
Berlaku untuk
Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)
Menghapus langganan.
public:
generic <typename TContextItemType>
where TContextItemType : System::Activities::Presentation::ContextItem void Unsubscribe(System::Activities::Presentation::SubscribeContextCallback<TContextItemType> ^ callback);
public void Unsubscribe<TContextItemType> (System.Activities.Presentation.SubscribeContextCallback<TContextItemType> callback) where TContextItemType : System.Activities.Presentation.ContextItem;
member this.Unsubscribe : System.Activities.Presentation.SubscribeContextCallback<'ContextItemType (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)> -> unit (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)
Public Sub Unsubscribe(Of TContextItemType As ContextItem) (callback As SubscribeContextCallback(Of TContextItemType))
Jenis parameter
- TContextItemType
Jenis item konteks untuk menghapus panggilan balik.
Parameter
yang SubscribeContextCallback<TContextItemType> akan dihapus.
Pengecualian
callback
adalah null
.