CoreDesignSurfaceSerializationBehaviorSerializationMessages.AmbiguousMoniker Method
Add an error for ambiguous moniker.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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.SerializationContextSerializationContext to add the error message to.
moniker
Type: System.StringThe ambiguous moniker string.
element1
Type: Microsoft.VisualStudio.Modeling.ModelElementThe first element using the given moniker.
element2
Type: Microsoft.VisualStudio.Modeling.ModelElementThe 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
CoreDesignSurfaceSerializationBehaviorSerializationMessages Class