共用方式為


QueueBalancerBase.SubscribeToQueueDistributionChangeEvents 方法

定義

訂閱接收佇列散發變更通知

public virtual bool SubscribeToQueueDistributionChangeEvents (Orleans.Streams.IStreamQueueBalanceListener observer);
public bool SubscribeToQueueDistributionChangeEvents (Orleans.Streams.IStreamQueueBalanceListener observer);
abstract member SubscribeToQueueDistributionChangeEvents : Orleans.Streams.IStreamQueueBalanceListener -> bool
override this.SubscribeToQueueDistributionChangeEvents : Orleans.Streams.IStreamQueueBalanceListener -> bool
Public Overridable Function SubscribeToQueueDistributionChangeEvents (observer As IStreamQueueBalanceListener) As Boolean
Public Function SubscribeToQueueDistributionChangeEvents (observer As IStreamQueueBalanceListener) As Boolean

參數

observer
IStreamQueueBalanceListener

接收佇列散發變更通知的觀察者介面。

傳回

值,指出訂閱是否成功。

實作

適用於