/// <summary>
        /// Disconnects a phone call.
        /// </summary>
        /// <param name="id">The Id of the phone call.</param>
        internal System.Threading.Tasks.Task DisconnectPhoneCall(PhoneCallId id, CancellationToken token)
        {
            DisconnectPhoneCallRequest request = new DisconnectPhoneCallRequest(service);

            request.Id = id;
            return(request.Execute(token));
        }
        /// <summary>
        /// Disconnects a phone call.
        /// </summary>
        /// <param name="id">The Id of the phone call.</param>
        internal void DisconnectPhoneCall(PhoneCallId id)
        {
            DisconnectPhoneCallRequest request = new DisconnectPhoneCallRequest(service);

            request.Id = id;
            request.Execute();
        }
예제 #3
0
        /// <summary>
        /// Disconnects a phone call.
        /// </summary>
        /// <param name="id">The Id of the phone call.</param>
        internal System.Threading.Tasks.Task DisconnectPhoneCall(PhoneCallId id)
        {
            DisconnectPhoneCallRequest request = new DisconnectPhoneCallRequest(service);

            request.Id = id;
            return(request.Execute());
        }
 /// <summary>
 /// Disconnects a phone call.
 /// </summary>
 /// <param name="id">The Id of the phone call.</param>
 internal void DisconnectPhoneCall(PhoneCallId id)
 {
     DisconnectPhoneCallRequest request = new DisconnectPhoneCallRequest(service);
     request.Id = id;
     request.Execute();
 }