示例#1
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <RegisterConsentResponse> Execute(CancellationToken token)
        {
            RegisterConsentResponse serviceResponse = (RegisterConsentResponse)await this.InternalExecuteAsync(token).ConfigureAwait(false);

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
示例#2
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal RegisterConsentResponse Execute()
        {
            RegisterConsentResponse serviceResponse = (RegisterConsentResponse)this.InternalExecute();

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }