Compartilhar via


DslDefinitionModelSerializationBehaviorSerializationMessages Class

Definition

Utility class to provide serialization messages

public ref class DslDefinitionModelSerializationBehaviorSerializationMessages abstract sealed
public static class DslDefinitionModelSerializationBehaviorSerializationMessages
type DslDefinitionModelSerializationBehaviorSerializationMessages = class
Public Class DslDefinitionModelSerializationBehaviorSerializationMessages
Inheritance
DslDefinitionModelSerializationBehaviorSerializationMessages

Properties

ResourceManager

ResourceManager to get serialization messages from.

Methods

AmbiguousMoniker(SerializationContext, String, ModelElement, ModelElement)

Add an error for ambiguous moniker.

AmbiguousSchema(SerializationContext, XmlReader, String, String)

Add a warning for ambiguous schemas.

CannotMonikerizeElement(SerializationContext, String)

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

DanglingRelationship(SerializationContext, XmlReader, String)

Add an error for dangling relationship instance.

ExpectingFullFormRelationship(SerializationContext, XmlReader, Type)

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

ExpectingShortFormRelationship(SerializationContext, XmlReader, Type)

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

IgnoredPropertyValue(SerializationContext, XmlReader, String, Type, String)

Add a warning for invalid property value with the given type, which will be ignored.

InvalidPropertyValue(SerializationContext, XmlReader, String, Type, String)

Add an error for invalid property value with given type.

MajorVersionMismatch(SerializationContext, XmlReader, Int32, Int32)

Add an error for MajorVersion mismatch.

MinorVersionMismatch(SerializationContext, XmlReader, Int32, Int32)

Add a warning for MinorVersion mismatch.

MissingId(SerializationContext, XmlReader, Guid)

Add a warning for missing "Id" property.

MissingMoniker(SerializationContext, XmlReader, String)

Add an error for missing moniker.

MonikerResolvedToDuplicateLink(SerializationResult, Moniker)

Add an warning for moniker resolved to duplicate link. The moniker will be ignored.

NoSchema(SerializationContext, XmlReader, String)

Add a warning for no schema found for the given target namespace, schema validation will be skipped in this case.

SchemaValidationError(SerializationContext, XmlReader, String)

Add a warning for schema validation error.

UnexpectedXmlElement(SerializationContext, XmlReader)

Add an warning for unexpected XML element.

UnresolvedMoniker(SerializationResult, Moniker)

Add an error for unresolved moniker.

VersionMismatch(SerializationContext, XmlReader, Version, Version)

Add an error for Version mismatch.

Applies to