Ejemplo n.º 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()));
 }
Ejemplo n.º 2
0
 private static void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Console.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString());
 }
Ejemplo n.º 3
0
 private static void OnAzureVoiceErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     Logger.Log("Unable to complete the TTS request: " + e.ToString());
 }
Ejemplo n.º 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");
 }
Ejemplo n.º 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());
 }