DslDefinitionModelSerializationBehaviorSerializationMessages.AmbiguousMoniker Method
Add an error for ambiguous moniker.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Sub AmbiguousMoniker ( _
serializationContext As SerializationContext, _
moniker As String, _
element1 As ModelElement, _
element2 As ModelElement _
)
public static void AmbiguousMoniker(
SerializationContext serializationContext,
string moniker,
ModelElement element1,
ModelElement element2
)
public:
static void AmbiguousMoniker(
SerializationContext^ serializationContext,
String^ moniker,
ModelElement^ element1,
ModelElement^ element2
)
static member AmbiguousMoniker :
serializationContext:SerializationContext *
moniker:string *
element1:ModelElement *
element2:ModelElement -> unit
public static function AmbiguousMoniker(
serializationContext : SerializationContext,
moniker : String,
element1 : ModelElement,
element2 : ModelElement
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
SerializationContext to add the error message to.
- moniker
Type: System.String
The ambiguous moniker string.
- element1
Type: Microsoft.VisualStudio.Modeling.ModelElement
The first element using the given moniker.
- element2
Type: Microsoft.VisualStudio.Modeling.ModelElement
The second element using the given 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