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
'宣言
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
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
SerializationContext to add the error message to.
- domainClassName
Type: System.String
Name of the DomainClass whose instance cannot be monikerized.
.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