IMobileServiceEventManager.Subscribe<T>(Action<T>) メソッド

定義

イベント通知をサブスクライブします。

public IDisposable Subscribe<T> (Action<T> next) where T : class, Microsoft.WindowsAzure.MobileServices.Eventing.IMobileServiceEvent;
abstract member Subscribe : Action<'T (requires 'T : null and 'T :> Microsoft.WindowsAzure.MobileServices.Eventing.IMobileServiceEvent)> -> IDisposable (requires 'T : null and 'T :> Microsoft.WindowsAzure.MobileServices.Eventing.IMobileServiceEvent)
Public Function Subscribe(Of T As {Class, IMobileServiceEvent}) (next As Action(Of T)) As IDisposable

型パラメーター

T

通知をフィルター処理するイベントの基本型。

パラメーター

next
Action<T>

イベントを処理するために呼び出されるデリゲート。

戻り値

IDisposableサブスクリプションを表す インスタンス。

適用対象