Hello,
Thanks for your response. Please try below sample code for how to use your custom model:
var sourceLanguageConfig = SourceLanguageConfig.FromLanguage("de-DE", "The Endpoint ID for your custom model.");
var recognizer = new SpeechRecognizer(speechConfig, sourceLanguageConfig, audioConfig);
SpeechRecognitionLanguage and EndpointId set methods are deprecated from the SpeechConfig class in C#. The use of these methods are discouraged, and shouldn't be used when constructing a SpeechRecognizer. I think this should be the error in your sample
More details please check :
https://video2.skills-academy.com/en-us/azure/cognitive-services/speech-service/how-to-specify-source-language?pivots=programming-language-csharp
Sorry for the delay and hope this helps.
Regards,
Yutong