Exemplo n.º 1
0
        public IPageRangeCollection EndGetPageRangeList(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <IPageRangeCollection> asyncIteratorContext = (AsyncIteratorContext <IPageRangeCollection>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 2
0
        public ITableContainerCollection EndListTableContainers(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <ITableContainerCollection> asyncIteratorContext = (AsyncIteratorContext <ITableContainerCollection>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 3
0
        IBlobObjectCollection Microsoft.Cis.Services.Nephos.Common.Storage.IBlobContainer.EndListBlobs(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IBlobObjectCollection> asyncIteratorContext = (AsyncIteratorContext <IBlobObjectCollection>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 4
0
        public IBlockLists EndGetBlockList(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <IBlockLists> asyncIteratorContext = (AsyncIteratorContext <IBlockLists>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 5
0
        public IQueueMessageReceipt EndUpdateMessage(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueMessageReceipt> asyncIteratorContext = (AsyncIteratorContext <IQueueMessageReceipt>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 6
0
        IBlockLists Microsoft.Cis.Services.Nephos.Common.Storage.IListBlobObject.EndGetBlockList(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <IBlockLists> asyncIteratorContext = (AsyncIteratorContext <IBlockLists>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 7
0
        public ListMessagesResult EndListMessages(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <ListMessagesResult> asyncIteratorContext = (AsyncIteratorContext <ListMessagesResult>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 8
0
        public bool EndDeleteMessage(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <bool> asyncIteratorContext = (AsyncIteratorContext <bool>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 9
0
        public IQueueStatistics EndGetQueueStatistics(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueStatistics> asyncIteratorContext = (AsyncIteratorContext <IQueueStatistics>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 10
0
        IEnumerable <IMessageData> Microsoft.Cis.Services.Nephos.Common.Storage.IQueueOperations.EndPeekMessage(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IEnumerable <IMessageData> > asyncIteratorContext = (AsyncIteratorContext <IEnumerable <IMessageData> >)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 11
0
        IQueueMessageReceipt Microsoft.Cis.Services.Nephos.Common.Storage.IQueueOperations.EndUpdateMessage(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueMessageReceipt> asyncIteratorContext = (AsyncIteratorContext <IQueueMessageReceipt>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 12
0
        public T EndExecute <T>(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <T> asyncIteratorContext = (AsyncIteratorContext <T>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 13
0
        IQueueStatistics Microsoft.Cis.Services.Nephos.Common.Storage.IQueueOperations.EndGetQueueStatistics(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueStatistics> asyncIteratorContext = (AsyncIteratorContext <IQueueStatistics>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 14
0
        IQueueContainer Microsoft.Cis.Services.Nephos.Common.Storage.IStorageAccount.EndCreateQueueContainer(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueContainer> asyncIteratorContext = (AsyncIteratorContext <IQueueContainer>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 15
0
        public ITableContainer EndCreateTableContainer(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <ITableContainer> asyncIteratorContext = (AsyncIteratorContext <ITableContainer>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 16
0
        private IQueueContainer EndGetQueue(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <IQueueContainer> asyncIteratorContext = (AsyncIteratorContext <IQueueContainer>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 17
0
        public static long EndAsyncStreamCopy(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <long> asyncIteratorContext = (AsyncIteratorContext <long>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 18
0
        public CopyBlobOperationInfo EndSynchronousCopyBlob(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <CopyBlobOperationInfo> asyncIteratorContext = (AsyncIteratorContext <CopyBlobOperationInfo>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 19
0
        public DateTime EndSnapshotBlob(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <DateTime> asyncIteratorContext = (AsyncIteratorContext <DateTime>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 20
0
        public CrcStream EndGetBlob(IAsyncResult asyncResult)
        {
            Exception exception;
            AsyncIteratorContext <CrcStream> asyncIteratorContext = (AsyncIteratorContext <CrcStream>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 21
0
        public List <IMessageData> EndPutMessage(IAsyncResult ar)
        {
            Exception exception;
            AsyncIteratorContext <List <IMessageData> > asyncIteratorContext = (AsyncIteratorContext <List <IMessageData> >)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 22
0
        public IEnumerable <PeekedMessage> EndPeekMessages(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <IEnumerable <PeekedMessage> > asyncIteratorContext = (AsyncIteratorContext <IEnumerable <PeekedMessage> >)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 23
0
        public QueueProperties EndGetQueueProperties(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <QueueProperties> asyncIteratorContext = (AsyncIteratorContext <QueueProperties>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 24
0
        public PoppedMessage EndUpdateMessage(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <PoppedMessage> asyncIteratorContext = (AsyncIteratorContext <PoppedMessage>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 25
0
        public CreateQueueResult EndCreateQueue(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <CreateQueueResult> asyncIteratorContext = (AsyncIteratorContext <CreateQueueResult>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 26
0
        public IListQueuesResultCollection EndListQueues(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <IListQueuesResultCollection> asyncIteratorContext = (AsyncIteratorContext <IListQueuesResultCollection>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 27
0
        public override int EndRead(IAsyncResult asyncResult)
        {
            Exception exception;

            if (asyncResult == null)
            {
                throw new ArgumentNullException("asyncResult");
            }
            AsyncIteratorContext <int> asyncIteratorContext = (AsyncIteratorContext <int>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 28
0
        public ContainerAclSettings EndGetTableAcl(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <ContainerAclSettings> asyncIteratorContext = (AsyncIteratorContext <ContainerAclSettings>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 29
0
        public AnalyticsSettings EndGetTableServiceProperties(IAsyncResult ar)
        {
            Exception exception;

            if (ar == null)
            {
                throw new ArgumentNullException("ar");
            }
            AsyncIteratorContext <AnalyticsSettings> asyncIteratorContext = (AsyncIteratorContext <AnalyticsSettings>)ar;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }
Exemplo n.º 30
0
        public override AuthorizationResult EndAuthorizeRequest(IAsyncResult asyncResult)
        {
            Exception exception;

            if (asyncResult == null)
            {
                throw new ArgumentNullException("asyncResult");
            }
            AsyncIteratorContext <AuthorizationResult> asyncIteratorContext = (AsyncIteratorContext <AuthorizationResult>)asyncResult;

            asyncIteratorContext.End(out exception);
            if (exception != null)
            {
                throw exception;
            }
            return(asyncIteratorContext.ResultData);
        }