Share via


DslDefinitionModelSerializationBehaviorSerializationMessages.ExpectingFullFormRelationship Method

Add a warning when a full-form relationship seems to be serialized in short-form.

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

Syntax

'Declaration
Public Shared Sub ExpectingFullFormRelationship ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    relationshipType As Type _
)
public static void ExpectingFullFormRelationship(
    SerializationContext serializationContext,
    XmlReader reader,
    Type relationshipType
)
public:
static void ExpectingFullFormRelationship(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    Type^ relationshipType
)
static member ExpectingFullFormRelationship : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        relationshipType:Type -> unit
public static function ExpectingFullFormRelationship(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    relationshipType : Type
)

Parameters

  • reader
    Type: XmlReader

    The reader pointing to where the message is raised.

  • relationshipType
    Type: Type

    Type of the relationship.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace