/// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(EwsServiceXmlReader reader)
        {
            GetHoldOnMailboxesResponse response = new GetHoldOnMailboxesResponse();

            response.LoadFromXml(reader, GetResponseXmlElementName());
            return(response);
        }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal GetHoldOnMailboxesResponse Execute()
        {
            GetHoldOnMailboxesResponse serviceResponse = (GetHoldOnMailboxesResponse)this.InternalExecute();

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

            return(serviceResponse);
        }
 /// <summary>
 /// Parses the response.
 /// </summary>
 /// <param name="reader">The reader.</param>
 /// <returns>Response object.</returns>
 internal override object ParseResponse(EwsServiceXmlReader reader)
 {
     GetHoldOnMailboxesResponse response = new GetHoldOnMailboxesResponse();
     response.LoadFromXml(reader, GetResponseXmlElementName());
     return response;
 }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetHoldOnMailboxesResponse> Execute()
        {
            GetHoldOnMailboxesResponse serviceResponse = (GetHoldOnMailboxesResponse)await this.InternalExecuteAsync().ConfigureAwait(false);

            return(serviceResponse);
        }