Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Add an warning for unexpected XML element.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Sub UnexpectedXmlElement ( _
serializationContext As SerializationContext, _
reader As XmlReader _
)
public static void UnexpectedXmlElement(
SerializationContext serializationContext,
XmlReader reader
)
public:
static void UnexpectedXmlElement(
SerializationContext^ serializationContext,
XmlReader^ reader
)
static member UnexpectedXmlElement :
serializationContext:SerializationContext *
reader:XmlReader -> unit
public static function UnexpectedXmlElement(
serializationContext : SerializationContext,
reader : XmlReader
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerializationContext to add the warning message to.
reader
Type: XmlReaderThe reader pointing to where the message is raised.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CoreDesignSurfaceSerializationBehaviorSerializationMessages Class