ISubscriptionToken 介面
定義
表示物件所實作的介面,且可用於取消訂閱接聽程式。Represents an interface that is implemented by an object and that can be used to unsubscribe listeners.
public interface class ISubscriptionToken
public interface ISubscriptionToken
type ISubscriptionToken = interface
Public Interface ISubscriptionToken
屬性
IsActive |
傳回值,指出訂閱目前是否作用中。Returns a value that indicates whether the subscription is currently active. |
方法
Unsubscribe() |
從事件取消訂閱接聽程式。Unsubscribes a listener from the event. |