TrackingProfileDeserializationException.ValidationEventArgs Właściwość

Definicja

Pobiera listę zawierającą ostrzeżenia walidacji i błędy skojarzone z tym wyjątkiem.

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)

Wartość właściwości

ValidationEventArgs Obiekt IList zawierający ostrzeżenia walidacji i błędy skojarzone z tym wyjątkiem. Wartość domyślna to pusta lista.

Uwagi

Element TrackingProfileSerializer używa elementu XmlReader do deserializacji dokumentu XML w obiekcie TrackingProfile. Program TrackingProfileSerializer zbiera błędy weryfikacji i ostrzeżenia emitowane przez XmlReaderelement . W pewnych punktach podczas deserializacji określa, TrackingProfileSerializer czy XmlReader wystąpiły błędy walidacji, a jeśli wystąpiły, TrackingProfileSerializer dodaje te ostrzeżenia i błędy do ValidationEventArgs i zgłasza TrackingProfileDeserializationExceptionbłąd . Nie wszystkie wyjątki tej klasy zostaną ValidationEventArgs ustawione.

Dotyczy