public IAsyncResult BeginGetRules(AsyncCallback callback, object state) { var result = new GetEntityCollectionAsyncResult <RuleDescription>(this.topicPath + "/Subscriptions/" + this.name + "/Rules", this.TokenProvider); result.BeginInvoke(callback, state); return(result); }
public static IAsyncResult BeginGetQueues(TokenProvider tokenProvider, AsyncCallback callback, object state) { var result = new GetEntityCollectionAsyncResult <QueueDescription>("$Resources/Queues", tokenProvider); result.BeginInvoke(callback, state); return(result); }
public static IAsyncResult BeginGetSubscriptions(string topicPath, TokenProvider tokenProvider, AsyncCallback callback, object state) { var result = new GetEntityCollectionAsyncResult <SubscriptionDescription>(topicPath + "/Subscriptions", tokenProvider) { TopicPath = topicPath }; result.BeginInvoke(callback, state); return(result); }