Partilhar via


CoreDesignSurfaceSerializationBehaviorSerializationMessages.CannotMonikerizeElement Method

Add an error for not able to monikerize an instance of the given DomainClass.

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

Syntax

'Declaração
Public Shared Sub CannotMonikerizeElement ( _
    serializationContext As SerializationContext, _
    domainClassName As String _
)
public static void CannotMonikerizeElement(
    SerializationContext serializationContext,
    string domainClassName
)
public:
static void CannotMonikerizeElement(
    SerializationContext^ serializationContext, 
    String^ domainClassName
)
static member CannotMonikerizeElement : 
        serializationContext:SerializationContext * 
        domainClassName:string -> unit 
public static function CannotMonikerizeElement(
    serializationContext : SerializationContext, 
    domainClassName : String
)

Parameters

  • domainClassName
    Type: System.String
    Name of the DomainClass whose instance cannot be monikerized.

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace