DslDefinitionModelSerializationBehaviorSerializationMessages.MissingMoniker Method
Add an error for missing moniker.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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.SerializationContextSerializationContext to add the error message to.
reader
Type: XmlReaderThe reader pointing to where the message is raised.
monikerAttributeName
Type: StringName 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