CoreDesignSurfaceSerializationBehaviorMonikerResolver.OnMonikerResolvedToDuplicateLink Method
Called when resolving a moniker causes a duplicate link to be created.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Protected Overrides Sub OnMonikerResolvedToDuplicateLink ( _
serializationResult As SerializationResult, _
moniker As Moniker _
)
protected override void OnMonikerResolvedToDuplicateLink(
SerializationResult serializationResult,
Moniker moniker
)
protected:
virtual void OnMonikerResolvedToDuplicateLink(
SerializationResult^ serializationResult,
Moniker^ moniker
) override
abstract OnMonikerResolvedToDuplicateLink :
serializationResult:SerializationResult *
moniker:Moniker -> unit
override OnMonikerResolvedToDuplicateLink :
serializationResult:SerializationResult *
moniker:Moniker -> unit
protected override function OnMonikerResolvedToDuplicateLink(
serializationResult : SerializationResult,
moniker : Moniker
)
Parameters
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
SerializationResult to store error/warning messages.
- moniker
Type: Microsoft.VisualStudio.Modeling.Moniker
Moniker that causes duplicate link to be created.
.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.