Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
        }