36 references to ThrowFormatException
System.Speech (36)
Internal\Synthesis\SSmlParser.cs (36)
51ThrowFormatException(SRID.GrammarDefTwice); 64ThrowFormatException(SRID.SynthesizerNoSpeak); 107ThrowFormatException(SRID.InvalidVersion); 182ThrowFormatException(SRID.MissingRequiredAttribute, "version", "speak"); 187ThrowFormatException(SRID.MissingRequiredAttribute, "lang", "speak"); 252ThrowFormatException(SRID.InvalidElement, reader.Name); 270ThrowFormatException(SRID.InvalidElement, reader.Name); 340ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 416ThrowFormatException(SRID.InvalidSpeakAttribute, reader.Name, "break"); 472ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 531ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 579ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 585ThrowFormatException(SRID.MissingRequiredAttribute, "name", "mark"); 684ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 771ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 777ThrowFormatException(SRID.MissingRequiredAttribute, "ph", "phoneme"); 820ThrowFormatException(SRID.InvalidItemAttribute, "phoneme"); 894ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 900ThrowFormatException(SRID.MissingRequiredAttribute, "pitch, contour, range, rate, duration, volume", "prosody"); 963ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 969ThrowFormatException(SRID.MissingRequiredAttribute, "interpret-as", "say-as"); 1023ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1029ThrowFormatException(SRID.MissingRequiredAttribute, "alias", "sub"); 1048ThrowFormatException(SRID.InvalidVoiceElementInPromptOutput); 1174ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1189ThrowFormatException(SRID.MissingRequiredAttribute, "'xml:lang' or 'gender' or 'age' or 'variant' or 'name'", "voice"); 1253ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1259ThrowFormatException(SRID.MissingRequiredAttribute, "uri", "lexicon"); 1304ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1311ThrowFormatException(SRID.InvalidElement, reader.Name); 1339ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1346ThrowFormatException(SRID.InvalidElement, reader.Name); 1420ThrowFormatException(SRID.InvalidItemAttribute, reader.Name); 1426ThrowFormatException(SRID.InvalidElement, reader.Name); 1483ThrowFormatException(SRID.InvalidAttributeDefinedTwice, reader.Value, attribute); 1774ThrowFormatException(SRID.InvalidElement, sElement);