DslDefinitionModelSerializationBehaviorSerializationMessages.MissingMoniker Method
Add an error for missing moniker.
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 MissingMoniker ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
monikerAttributeName As String _
)
public static void MissingMoniker(
SerializationContext serializationContext,
XmlReader reader,
string monikerAttributeName
)
public:
static void MissingMoniker(
SerializationContext^ serializationContext,
XmlReader^ reader,
String^ monikerAttributeName
)
static member MissingMoniker :
serializationContext:SerializationContext *
reader:XmlReader *
monikerAttributeName:string -> unit
public static function MissingMoniker(
serializationContext : SerializationContext,
reader : XmlReader,
monikerAttributeName : String
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
SerializationContext to add the error message to.
- reader
Type: System.Xml.XmlReader
The reader pointing to where the message is raised.
- monikerAttributeName
Type: System.String
Name of the attribute that should hold the moniker.
.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