TrackingProfileDeserializationException.ValidationEventArgs 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會獲得一個包含與此例外相關的驗證警告和錯誤的清單。
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)
屬性值
IList ValidationEventArgs包含與此例外相關的驗證警告與錯誤的物件。 預設為空白清單。
備註
該 TrackingProfileSerializer 使用 將 XmlReader XML 文件反序列化成 TrackingProfile。 該系統 TrackingProfileSerializer 收集由 XmlReader. 在反序列化的某些時刻,判斷TrackingProfileSerializer是否遇到任何驗證錯誤,若有,則XmlReader將這些警告與錯誤加入TrackingProfileSerializer並拋出 ValidationEventArgsTrackingProfileDeserializationException 。 並非所有例外都包含 ValidationEventArgs set。