Freigeben über


DslDefinitionModelSerializationBehaviorSerializationMessages.AmbiguousMoniker Method

Definition

Add an error for ambiguous moniker.

public:
 static void AmbiguousMoniker(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::String ^ moniker, Microsoft::VisualStudio::Modeling::ModelElement ^ element1, Microsoft::VisualStudio::Modeling::ModelElement ^ element2);
public static void AmbiguousMoniker (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, string moniker, Microsoft.VisualStudio.Modeling.ModelElement element1, Microsoft.VisualStudio.Modeling.ModelElement element2);
static member AmbiguousMoniker : Microsoft.VisualStudio.Modeling.SerializationContext * string * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub AmbiguousMoniker (serializationContext As SerializationContext, moniker As String, element1 As ModelElement, element2 As ModelElement)

Parameters

serializationContext
SerializationContext

SerializationContext to add the error message to.

moniker
String

The ambiguous moniker string.

element1
ModelElement

The first element using the given moniker.

element2
ModelElement

The second element using the given moniker.

Applies to