Partager via


CoreDesignSurfaceSerializationBehaviorSerializationMessages.CannotMonikerizeElement Method

Definition

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

public:
 static void CannotMonikerizeElement(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::String ^ domainClassName);
public static void CannotMonikerizeElement (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, string domainClassName);
static member CannotMonikerizeElement : Microsoft.VisualStudio.Modeling.SerializationContext * string -> unit
Public Shared Sub CannotMonikerizeElement (serializationContext As SerializationContext, domainClassName As String)

Parameters

serializationContext
SerializationContext

SerializationContext to add the error message to.

domainClassName
String

Name of the DomainClass whose instance cannot be monikerized.

Applies to