/// <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(); }
: super() { EwsUtilities.Assert( service != null, "PlayOnPhoneResponse.ctor", "service is null"); this.phoneCallId = new PhoneCallId(); }
/// <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); }
/// <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; }