EnsureCurrentNodeIsStartElementWithNamespace method
void
EnsureCurrentNodeIsStartElementWithNamespace(
- XmlNamespace xmlNamespace,
- String? localName
)
Ensures the current node is start element.
The XML namespace.
Name of the local.
Implementation
void EnsureCurrentNodeIsStartElementWithNamespace(
XmlNamespace xmlNamespace, String? localName) {
if (!this.IsStartElementWithNamespace(xmlNamespace, localName)) {
throw new ServiceXmlDeserializationException("""string.Format(
Strings.ElementNotFound,
localName,
xmlNamespace)""");
}
}