ASN1C C# Runtime Library  7.4
Public Member Functions | List of all members
Asn1XmlUnexpElemExc Class Reference
Inheritance diagram for Asn1XmlUnexpElemExc:
Asn1Exception

Public Member Functions

 Asn1XmlUnexpElemExc (string elemName)
 
- Public Member Functions inherited from Asn1Exception
 Asn1Exception (System.String message)
 
 Asn1Exception (System.String message, System.Exception innerException)
 
 Asn1Exception (Asn1DecodeBuffer buffer, System.String message)
 

Detailed Description

This class defines the 'unexpected XML element' exception. This exception is thrown when an element in an XML instance is encountered that is different than what is defined in the schema to occur at that position.

Constructor & Destructor Documentation

◆ Asn1XmlUnexpElemExc()

Asn1XmlUnexpElemExc ( string  elemName)

This constructor creates an exception object with a textual message describing the expected element value.

Parameters
elemNameParsed XML local name.