示例#1
0
        private async void ShowCallDuration()
        {
            txtBx_ActionLog.Text += "\n" + "Showing Call Duration.";
            String result = await VoipCallHelper.GetCallDurationAsync();

            if (result != null)
            {
                MessageDialog dialog = new MessageDialog(result);
                await dialog.ShowAsync();
            }
            else
            {
                txtBx_ActionLog.Text += "\n" + "Request Failed.";
            }
        }