WriteAttributeStringWithPrefix method
void
WriteAttributeStringWithPrefix()
Implementation
void WriteAttributeStringWithPrefix(
String namespacePrefix, String localName, String? stringValue) {
try {
this._xmlWriter!.WriteAttributeString(
prefix: namespacePrefix,
localName: localName,
ns: null,
value: stringValue);
} on ArgumentException catch (ex, stacktrace) {
// XmlTextWriter will throw ArgumentException if String includes invalid characters.
throw new ServiceXmlSerializationException(
"InvalidAttributeValue($stringValue, $localName)", ex, stacktrace);
}
}