private void DeleteCustomVoiceModel() { if (string.IsNullOrEmpty(_customVoiceModelID)) { throw new ArgumentNullException("customVoiceModelID"); } Console.WriteLine(string.Format("Calling DeleteCustomVoiceModel({0})...", _customVoiceModelID)); _textToSpeech.DeleteCustomVoiceModel(_customVoiceModelID); Console.WriteLine(string.Format("Custom voice model {0} deleted.", _customVoiceModelID)); }