コード例 #1
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal GetPasswordExpirationDateResponse Execute()
        {
            GetPasswordExpirationDateResponse serviceResponse = (GetPasswordExpirationDateResponse)this.InternalExecute();

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetPasswordExpirationDateResponse> Execute(CancellationToken token)
        {
            GetPasswordExpirationDateResponse serviceResponse = (GetPasswordExpirationDateResponse)await this.InternalExecuteAsync(token).ConfigureAwait(false);

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