TrackingProfileDeserializationException.ValidationEventArgs Vlastnost

Definice

Získá seznam, který obsahuje upozornění ověřování a chyby spojené s touto výjimkou.

public:
 property System::Collections::Generic::IList<System::Xml::Schema::ValidationEventArgs ^> ^ ValidationEventArgs { System::Collections::Generic::IList<System::Xml::Schema::ValidationEventArgs ^> ^ get(); };
public System.Collections.Generic.IList<System.Xml.Schema.ValidationEventArgs> ValidationEventArgs { get; }
member this.ValidationEventArgs : System.Collections.Generic.IList<System.Xml.Schema.ValidationEventArgs>
Public ReadOnly Property ValidationEventArgs As IList(Of ValidationEventArgs)

Hodnota vlastnosti

A IList of ValidationEventArgs objects that contains validation warnings and errors associated with this exception. Výchozí hodnota je prázdný seznam.

Poznámky

Používá TrackingProfileSerializerXmlReader k deserializaci dokumentu XML do .TrackingProfile Shromažďuje TrackingProfileSerializer chyby ověření a upozornění vygenerované nástrojem XmlReader. V určitých bodech během deserializace určuje, TrackingProfileSerializer zda došlo k XmlReader nějakým chybám ověření, a pokud ano, TrackingProfileSerializer přidá tato upozornění a chyby a ValidationEventArgs vyvolá TrackingProfileDeserializationExceptionchybu . Ne všechny výjimky této třídy budou nastaveny ValidationEventArgs .

Platí pro