DslDefinitionModelSerializationBehaviorSerializationMessages.MissingId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a warning for missing "Id" property.
public:
static void MissingId(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, Guid newId);
public static void MissingId (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, Guid newId);
static member MissingId : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * Guid -> unit
Public Shared Sub MissingId (serializationContext As SerializationContext, reader As XmlReader, newId As Guid)
Parameters
- serializationContext
- SerializationContext
SerializationContext to add the warning message to.
- reader
- XmlReader
The reader pointing to where the message is raised.
- newId
- Guid
Auto-generated new Id.