6 references to OnError
System.Speech (6)
Internal\SrgsParser\SrgsDocumentParser.cs (3)
97bool hasScript = srgsRule.OnInit != null || srgsRule.OnParse != null || srgsRule.OnError != null || srgsRule.OnRecognition != null; 110if (srgsRule.OnError != null) 112rule.CreateScript(grammar, id, srgsRule.OnError, RuleMethodScript.onError);
Recognition\SrgsGrammar\SrgsRule.cs (3)
243if (OnError != null) 245writer.WriteAttributeString("sapi", "onError", XmlParser.sapiNamespace, OnError); 486return _rule.OnError;