Beispiel #1
0
    /// <summary>
    /// Executes this request.
    /// </summary>
    /// <returns>Service response.</returns>
    GetPhoneCallResponse Execute()
    {
        GetPhoneCallResponse serviceResponse = (GetPhoneCallResponse)this.InternalExecute();

        serviceResponse.ThrowIfNecessary();
        return(serviceResponse);
    }
Beispiel #2
0
    object ParseResponse(EwsServiceXmlReader reader)
    {
        GetPhoneCallResponse response = new GetPhoneCallResponse(Service);

        response.LoadFromXml(reader, XmlElementNames.GetPhoneCallResponse);
        return(response);
    }
Beispiel #3
0
    /// <summary>
    /// Retrieves information about a current phone call.
    /// </summary>
    /// <param name="id">The Id of the phone call.</param>
    /// <returns>An object providing status for the phone call.</returns>
    PhoneCall GetPhoneCallInformation(PhoneCallId id)
    {
        GetPhoneCallRequest request = new GetPhoneCallRequest(service);

        request.Id = id;
        GetPhoneCallResponse response = request.Execute();

        return(response.PhoneCall);
    }