Beispiel #1
0
    /// <summary>
    /// Disconnects a phone call.
    /// </summary>
    /// <param name="id">The Id of the phone call.</param>
    void DisconnectPhoneCall(PhoneCallId id)
    {
        DisconnectPhoneCallRequest request = new DisconnectPhoneCallRequest(service);

        request.Id = id;
        request.Execute();
    }
Beispiel #2
0
        : super()
    {
        EwsUtilities.Assert(
            service != null,
            "PlayOnPhoneResponse.ctor",
            "service is null");

        this.phoneCallId = new PhoneCallId();
    }
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);
    }
Beispiel #4
0
 /// <summary>
 /// PhoneCall Constructor.
 /// </summary>
 /// <param name="service">EWS service to which this object belongs.</param>
 /// <param name="id">The Id of the phone call.</param>
 PhoneCall(ExchangeService service, PhoneCallId id)
     : this(service)
 {
     this.id = id;
 }