Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

InvalidCultureException Class

Thrown when a recognizer attempts to reference a grammar that specifies an unsupported or uninstalled language.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Speech.Recognition.InvalidCultureException

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class InvalidCultureException _
    Inherits Exception
'Usage
Dim instance As InvalidCultureException
[SerializableAttribute]
public sealed class InvalidCultureException : Exception

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

InvalidCultureException Members

Microsoft.Speech.Recognition Namespace