コード例 #1
0
        internal virtual GetUpgradeHistoryResponse GetUpgradeHistory(GetUpgradeHistoryRequest request)
        {
            var marshaller   = GetUpgradeHistoryRequestMarshaller.Instance;
            var unmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;

            return(Invoke <GetUpgradeHistoryRequest, GetUpgradeHistoryResponse>(request, marshaller, unmarshaller));
        }
コード例 #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the GetUpgradeHistory operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the GetUpgradeHistory operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public virtual Task <GetUpgradeHistoryResponse> GetUpgradeHistoryAsync(GetUpgradeHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = GetUpgradeHistoryRequestMarshaller.Instance;
            var unmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;

            return(InvokeAsync <GetUpgradeHistoryRequest, GetUpgradeHistoryResponse>(request, marshaller,
                                                                                     unmarshaller, cancellationToken));
        }
コード例 #3
0
        /// <summary>
        /// Initiates the asynchronous execution of the GetUpgradeHistory operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the GetUpgradeHistory operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public virtual Task <GetUpgradeHistoryResponse> GetUpgradeHistoryAsync(GetUpgradeHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetUpgradeHistoryRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;

            return(InvokeAsync <GetUpgradeHistoryResponse>(request, options, cancellationToken));
        }
コード例 #4
0
        internal virtual GetUpgradeHistoryResponse GetUpgradeHistory(GetUpgradeHistoryRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetUpgradeHistoryRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;

            return(Invoke <GetUpgradeHistoryResponse>(request, options));
        }