DslDefinitionModelSerializationBehaviorSerializationMessages.MissingId Method
Add a warning for missing "Id" property.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
‘선언
Public Shared Sub MissingId ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
newId As Guid _
)
public static void MissingId(
SerializationContext serializationContext,
XmlReader reader,
Guid newId
)
public:
static void MissingId(
SerializationContext^ serializationContext,
XmlReader^ reader,
Guid newId
)
static member MissingId :
serializationContext:SerializationContext *
reader:XmlReader *
newId:Guid -> unit
public static function MissingId(
serializationContext : SerializationContext,
reader : XmlReader,
newId : Guid
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
SerializationContext to add the warning message to.
- reader
Type: System.Xml.XmlReader
The reader pointing to where the message is raised.
- newId
Type: System.Guid
Auto-generated new Id.
.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
DslDefinitionModelSerializationBehaviorSerializationMessages Class