Reprocesses an XML Schema definition language (XSD) schema that already exists in the System.Xml.Schema.XmlSchemaSet.
An System.Xml.Schema.XmlSchema object if the schema is a valid schema. If the schema is not valid and a System.Xml.Schema.ValidationEventHandler is specified, null is returned and the appropriate validation event is raised. Otherwise, an System.Xml.Schema.XmlSchemaException is thrown.
Reprocessing a schema performs all the preprocessing steps performed on a schema when the erload:System.Xml.Schema.XmlSchemaSet.Add method is called. If the call to XmlSchemaSet.Reprocess(XmlSchema) is successful, the XmlSchemaSet.IsCompiled property is set to false.
The Reprocess method should be used after a schema in the System.Xml.Schema.XmlSchemaSet has been modified, after the System.Xml.Schema.XmlSchemaSet has performed compilation.
You need to call the XmlSchemaSet.Reprocess(XmlSchema) method if you have changed a schema (or one of its includes/imports) after adding it to the System.Xml.Schema.XmlSchemaSet. The XmlSchemaSet.Reprocess(XmlSchema) method will check the schema for structural validity according to the rules of W3C XML Schema. However, it will not perform a full validation check. It will also resolve references to internal and external schema components. Any imported or included schemas that are successfully retrieved are also added to the System.Xml.Schema.XmlSchemaSet. Imported schemas are added as separate System.Xml.Schema.XmlSchema objects while included schemas are made part of the including System.Xml.Schema.XmlSchema. If the call to reprocess is successful, the XmlSchemaSet.IsCompiled property is set to false.