CoreDesignSurfaceSerializationBehaviorSerializationMessages.SchemaValidationError Method
Add a warning for schema validation error.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Shared Sub SchemaValidationError ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
message As String _
)
public static void SchemaValidationError(
SerializationContext serializationContext,
XmlReader reader,
string message
)
public:
static void SchemaValidationError(
SerializationContext^ serializationContext,
XmlReader^ reader,
String^ message
)
static member SchemaValidationError :
serializationContext:SerializationContext *
reader:XmlReader *
message:string -> unit
public static function SchemaValidationError(
serializationContext : SerializationContext,
reader : XmlReader,
message : String
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerializationContext to add the warning message to.
reader
Type: System.Xml.XmlReaderThe reader pointing to where the message is raised.
message
Type: System.StringValidation message reported from schema validation.
.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