New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides data for the error occurred event in the speech recognizer.

Definition

Namespace:Telerik.Maui.SpeechRecognizer

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class SpeechRecognizerErrorOccurredEventArgs : EventArgs

Inheritance: objectEventArgsSpeechRecognizerErrorOccurredEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the SpeechRecognizerErrorOccurredEventArgs class with the specified error message and optional exception.

C#
public SpeechRecognizerErrorOccurredEventArgs(string message, Exception exception = null)
Parameters:messagestring

The error message.

exceptionException

The exception associated with the error, if any.

Fields

Gets the exception associated with the speech recognizer error, if any.

C#
public readonly Exception Exception

Gets the error message associated with the speech recognizer error.

C#
public readonly string Message

Properties

Gets or sets a value indicating whether the error has been handled.

C#
public bool Handled { get; set; }