다음을 통해 공유


DslDefinitionModelSerializationBehaviorSerializationMessages.CannotMonikerizeElement Method

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

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

Syntax

'Declaration
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

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace