XmlSchema.Compile Yöntem

Tanım

XML Şema Nesne Modeli'ni (SOM) doğrulama için şema bilgilerine derler. Program aracılığıyla oluşturulan SOM'nin bozulmamış ve semantik yapısını denetlemek için kullanılır. Anlamsal doğrulama denetimi derleme sırasında gerçekleştirilir.

Aşırı Yüklemeler

Compile(ValidationEventHandler)
Kullanımdan kalktı.
Kullanımdan kalktı.
Kullanımdan kalktı.

XML Şema Nesne Modeli'ni (SOM) doğrulama için şema bilgilerine derler. Program aracılığıyla oluşturulan SOM'nin bozulmamış ve semantik yapısını denetlemek için kullanılır. Anlamsal doğrulama denetimi derleme sırasında gerçekleştirilir.

Compile(ValidationEventHandler, XmlResolver)
Kullanımdan kalktı.
Kullanımdan kalktı.
Kullanımdan kalktı.

XML Şema Nesne Modeli'ni (SOM) doğrulama için şema bilgilerine derler. Program aracılığıyla oluşturulan SOM'nin bozulmamış ve semantik yapısını denetlemek için kullanılır. Anlamsal doğrulama denetimi derleme sırasında gerçekleştirilir.

Açıklamalar

Önemli

Compile Yöntemi, Microsoft .NET Framework sürüm 2.0'da kullanımdan kaldırılmıştır ve yöntemiyle XmlSchemaSet.Compile değiştirilmiştir.

Compile(ValidationEventHandler)

Dikkat

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202

Dikkat

XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.

Dikkat

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202

XML Şema Nesne Modeli'ni (SOM) doğrulama için şema bilgilerine derler. Program aracılığıyla oluşturulan SOM'nin bozulmamış ve semantik yapısını denetlemek için kullanılır. Anlamsal doğrulama denetimi derleme sırasında gerçekleştirilir.

public:
 void Compile(System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler? validationEventHandler);
[System.Obsolete("XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")]
public void Compile (System.Xml.Schema.ValidationEventHandler? validationEventHandler);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler);
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler);
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler -> unit
member this.Compile : System.Xml.Schema.ValidationEventHandler -> unit
Public Sub Compile (validationEventHandler As ValidationEventHandler)

Parametreler

validationEventHandler
ValidationEventHandler

XML Şeması doğrulama hataları hakkında bilgi alan doğrulama olay işleyicisi.

Öznitelikler

Açıklamalar

Önemli

Compile Yöntemi, Microsoft .NET Framework sürüm 2.0'da kullanımdan kaldırılmıştır ve yöntemiyle XmlSchemaSet.Compile değiştirilmiştir.

Şunlara uygulanır

Compile(ValidationEventHandler, XmlResolver)

Dikkat

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202

Dikkat

XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.

Dikkat

Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202

XML Şema Nesne Modeli'ni (SOM) doğrulama için şema bilgilerine derler. Program aracılığıyla oluşturulan SOM'nin bozulmamış ve semantik yapısını denetlemek için kullanılır. Anlamsal doğrulama denetimi derleme sırasında gerçekleştirilir.

public:
 void Compile(System::Xml::Schema::ValidationEventHandler ^ validationEventHandler, System::Xml::XmlResolver ^ resolver);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler? validationEventHandler, System.Xml.XmlResolver? resolver);
[System.Obsolete("XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")]
public void Compile (System.Xml.Schema.ValidationEventHandler? validationEventHandler, System.Xml.XmlResolver? resolver);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler, System.Xml.XmlResolver resolver);
[System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler, System.Xml.XmlResolver resolver);
public void Compile (System.Xml.Schema.ValidationEventHandler validationEventHandler, System.Xml.XmlResolver resolver);
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler * System.Xml.XmlResolver -> unit
[<System.Obsolete("XmlSchema.Compile has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler * System.Xml.XmlResolver -> unit
[<System.Obsolete("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Compile : System.Xml.Schema.ValidationEventHandler * System.Xml.XmlResolver -> unit
member this.Compile : System.Xml.Schema.ValidationEventHandler * System.Xml.XmlResolver -> unit
Public Sub Compile (validationEventHandler As ValidationEventHandler, resolver As XmlResolver)

Parametreler

validationEventHandler
ValidationEventHandler

XML Şeması doğrulama hataları hakkında bilgi alan doğrulama olay işleyicisi.

resolver
XmlResolver

ve XmlResolver import öğelerinde başvuruda bulunan ad alanlarını çözümlemek include için kullanılır.

Öznitelikler

Açıklamalar

SOM, veya include öğeleri aracılığıyla import diğer ad alanlarına başvuruda bulunursa, XmlResolver bu başvuruları çözümlemek için kullanılır. Çözümleyici olarak ayarlanırsa null, bu, kullanıcının veya öğeleri çözümlemeyi import include umursamadığını gösterir. Bu durumda, başvurular çözümlenmez. Çözümleyici, yöntem tamamlandıktan sonra Compile önbelleğe alınmaz.

Önemli

Compile Yöntemi, Microsoft .NET Framework sürüm 2.0'da kullanımdan kaldırılmıştır ve yöntemiyle XmlSchemaSet.Compile değiştirilmiştir.

Önemli

yöntemi, Compile öğeleri varsayılan olarak dahil etme, içeri aktarma veya yeniden tanımlamada başvurulan dış şemaları çözümlemek için sınıfını kullanır XmlUrlResolver . Parametre olarak null geçirerek dış şemaların çözümlemesini XmlResolver devre dışı bırakabilirsiniz.

Şunlara uygulanır