CoreDesignSurfaceSerializationBehaviorSerializationMessages.DanglingRelationship Method
Add an error for dangling relationship instance.
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 DanglingRelationship ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
relationshipType As String _
)
public static void DanglingRelationship(
SerializationContext serializationContext,
XmlReader reader,
string relationshipType
)
public:
static void DanglingRelationship(
SerializationContext^ serializationContext,
XmlReader^ reader,
String^ relationshipType
)
static member DanglingRelationship :
serializationContext:SerializationContext *
reader:XmlReader *
relationshipType:string -> unit
public static function DanglingRelationship(
serializationContext : SerializationContext,
reader : XmlReader,
relationshipType : String
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
SerializationContext to add the error message to.
- reader
Type: System.Xml.XmlReader
The reader pointing to where the message is raised.
- relationshipType
Type: System.String
Type name of the relationship.
.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