Свойство | Тип | Описание | |
---|---|---|---|
CannotMonikerizeElement | void | ||
ExpectingFullFormRelationship | void | ||
ExpectingShortFormRelationship | void | ||
IgnoredPropertyValue | void | ||
InvalidPropertyValue | void |
Метод | Описание | |
---|---|---|
AmbiguousMoniker ( global::Microsoft.VisualStudio.Modeling serializationContext, string moniker, global::Microsoft.VisualStudio.Modeling element1, global::Microsoft.VisualStudio.Modeling element2 ) : void |
Add an error for ambiguous moniker.
|
|
AmbiguousSchema ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string targetNamespace, string schemaPath ) : void |
Add a warning for ambiguous schemas.
|
|
DanglingRelationship ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string relationshipType ) : void |
Add an error for dangling relationship instance.
|
|
MissingId ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global newId ) : void |
Add a warning for missing "Id" property.
|
|
MissingMoniker ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string monikerAttributeName ) : void |
Add an error for missing moniker.
|
|
MonikerResolvedToDuplicateLink ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling moniker ) : void |
Add an warning for moniker resolved to duplicate link. The moniker will be ignored.
|
|
NoSchema ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string targetNamespace ) : void |
Add a warning for no schema found for the given target namespace, schema validation will be skipped in this case.
|
|
SchemaValidationError ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string message ) : void |
Add a warning for schema validation error.
|
|
UnexpectedXmlElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader ) : void |
Add an warning for unexpected XML element.
|
|
UnresolvedMoniker ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling moniker ) : void |
Add an error for unresolved moniker.
|
|
VersionMismatch ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global expectedVersion, global actualVersion ) : void |
Add an error for Version mismatch.
|
Метод | Описание | |
---|---|---|
CannotMonikerizeElement ( global::Microsoft.VisualStudio.Modeling serializationContext, string domainClassName ) : void | ||
ExpectingFullFormRelationship ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global relationshipType ) : void | ||
ExpectingShortFormRelationship ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global relationshipType ) : void | ||
IgnoredPropertyValue ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string propertyName, global propertyType, string value ) : void | ||
InvalidPropertyValue ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string propertyName, global propertyType, string value ) : void |
public static AmbiguousMoniker ( global::Microsoft.VisualStudio.Modeling serializationContext, string moniker, global::Microsoft.VisualStudio.Modeling element1, global::Microsoft.VisualStudio.Modeling element2 ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the error message to. |
moniker | string | The ambiguous moniker string. |
element1 | global::Microsoft.VisualStudio.Modeling | The first element using the given moniker. |
element2 | global::Microsoft.VisualStudio.Modeling | The second element using the given moniker. |
Результат | void |
public static AmbiguousSchema ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string targetNamespace, string schemaPath ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the warning message to. |
reader | global | The reader pointing to where the message is raised. |
targetNamespace | string | Target namespace to be resolved. |
schemaPath | string | The schema that is used to resolve the definition of the target namespace. |
Результат | void |
public static DanglingRelationship ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string relationshipType ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the error message to. |
reader | global | The reader pointing to where the message is raised. |
relationshipType | string | Type name of the relationship. |
Результат | void |
public static MissingId ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global newId ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the warning message to. |
reader | global | The reader pointing to where the message is raised. |
newId | global | Auto-generated new Id. |
Результат | void |
public static MissingMoniker ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string monikerAttributeName ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the error message to. |
reader | global | The reader pointing to where the message is raised. |
monikerAttributeName | string | Name of the attribute that should hold the moniker. |
Результат | void |
public static MonikerResolvedToDuplicateLink ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling moniker ) : void | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | SerializationResult to add the error message to. |
moniker | global::Microsoft.VisualStudio.Modeling | Offending moniker. |
Результат | void |
public static NoSchema ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string targetNamespace ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the warning message to. |
reader | global | The reader pointing to where the message is raised. |
targetNamespace | string | Target namespace that cannot be resolved. |
Результат | void |
public static SchemaValidationError ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, string message ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the warning message to. |
reader | global | The reader pointing to where the message is raised. |
message | string | Validation message reported from schema validation. |
Результат | void |
public static UnexpectedXmlElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the warning message to. |
reader | global | The reader pointing to where the message is raised. |
Результат | void |
public static UnresolvedMoniker ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling moniker ) : void | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | SerializationResult to add the error message to. |
moniker | global::Microsoft.VisualStudio.Modeling | Unresolved moniker. |
Результат | void |
public static VersionMismatch ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader, global expectedVersion, global actualVersion ) : void | ||
serializationContext | global::Microsoft.VisualStudio.Modeling | SerializationContext to add the error message to. |
reader | global | The reader pointing to where the message is raised. |
expectedVersion | global | The version that's expected. |
actualVersion | global | Actual version from the file. |
Результат | void |