Пример #1
0
 /// <summary>
 /// Handler an error when a TTS request failed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param>
 private static void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     log.Error(string.Format("ErrorHandler [{0}]", e.ToString()));
 }
Пример #2
0
 private static void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Console.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString());
 }
 private static void OnAzureVoiceErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Logger.Log("Unable to complete the TTS request: " + e.ToString());
 }
Пример #4
0
 /// <summary>
 /// Handler an error when a TTS request failed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param>
 private static void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Debug.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString());
     Assert.Fail("Failed to connect to server");
 }
Пример #5
0
 /// <summary>
 /// Handler an error when a TTS request failed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param>
 private static void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Debug.Log("Unable to complete the TTS request: [{0}]" + e.ToString());
 }