WriteValue method
Implementation
void WriteValue(String? value, String? name) {
try {
this._xmlWriter!.WriteValue(value);
} on ArgumentException catch (ex, stacktrace) {
// XmlTextWriter will throw ArgumentException if String includes invalid characters.
throw new ServiceXmlSerializationException(
"InvalidElementStringValue($value, $name)", ex, stacktrace);
}
}