public IAsyncResult BeginGetRule(string name, AsyncCallback callback, object state) { var result = new GetEntityAsyncResult <RuleDescription>(this.topicPath + "/Subscriptions/" + this.name + "/Rules/" + name, this.TokenProvider); result.BeginInvoke(callback, state); return(result); }
public static IAsyncResult BeginGetQueue(string path, TokenProvider tokenProvider, AsyncCallback callback, object state) { var result = new GetEntityAsyncResult <QueueDescription>(path, tokenProvider); result.BeginInvoke(callback, state); return(result); }
public static IAsyncResult BeginGetSubscription(string topicPath, string name, TokenProvider tokenProvider, AsyncCallback callback, object state) { var result = new GetEntityAsyncResult <SubscriptionDescription>(topicPath + "/Subscriptions/" + name, tokenProvider) { TopicPath = topicPath }; result.BeginInvoke(callback, state); return(result); }