Share via


Note

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

SrgsRuleRef Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the SrgsRuleRef class.

Overload List

  Name Description
Public method SrgsRuleRef(Uri) Initializes a new instance of the SrgsRuleRef class and specifies the location of the external grammar file to reference.
Public method SrgsRuleRef(SrgsRule) Initializes a new instance of the SrgsRuleRef class and specifies the rule to reference.
Public method SrgsRuleRef(Uri, String) Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file and the identifier of the rule to reference.
Public method SrgsRuleRef(SrgsRule, String) Initializes a new instance of the SrgsRuleRef class, specifying the rule to reference and a string that contains a semantic key.
Public method SrgsRuleRef(Uri, String, String) Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file, the identifier of the rule, and the string alias of the semantic dictionary.

Top

See Also

Reference

SrgsRuleRef Class

SrgsRuleRef Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace