Freigeben über


DslDefinitionModelSerializationBehaviorMonikerResolverBase.OnAmbiguousMoniker Method

Called when two new elements are giving the same moniker, which will cause ambiguity during moniker resolution.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnAmbiguousMoniker ( _
    context As SerializationContext, _
    moniker As String, _
    element1 As ModelElement, _
    element2 As ModelElement _
)
protected override void OnAmbiguousMoniker(
    SerializationContext context,
    string moniker,
    ModelElement element1,
    ModelElement element2
)
protected:
virtual void OnAmbiguousMoniker(
    SerializationContext^ context, 
    String^ moniker, 
    ModelElement^ element1, 
    ModelElement^ element2
) override
abstract OnAmbiguousMoniker : 
        context:SerializationContext * 
        moniker:string * 
        element1:ModelElement * 
        element2:ModelElement -> unit 
override OnAmbiguousMoniker : 
        context:SerializationContext * 
        moniker:string * 
        element1:ModelElement * 
        element2:ModelElement -> unit 
protected override function OnAmbiguousMoniker(
    context : SerializationContext, 
    moniker : String, 
    element1 : ModelElement, 
    element2 : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorMonikerResolverBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace