Exemplo n.º 1
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetOMEConfigurationResponse> Execute()
        {
            GetOMEConfigurationResponse serviceResponse = (GetOMEConfigurationResponse)await this.InternalExecuteAsync().ConfigureAwait(false);

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(EwsServiceXmlReader reader)
        {
            GetOMEConfigurationResponse response = new GetOMEConfigurationResponse();

            response.LoadFromXml(reader, XmlElementNames.GetOMEConfigurationResponse);
            return(response);
        }