TrackingProfileDeserializationException.ValidationEventArgs プロパティ

定義

この例外に関連した、検証上の警告およびエラーを含むリストを取得します。

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。 既定値は空のリストです。

注釈

TrackingProfileSerializerXmlReader を使用して、XML ドキュメントを TrackingProfile に逆シリアル化します。 TrackingProfileSerializer は、XmlReader によって出された検証エラーと警告を収集します。 逆シリアル化の特定の時点で、TrackingProfileSerializerXmlReader が検証エラーを検出したかどうか判別します。検出された場合には、TrackingProfileSerializer は該当する警告とエラーを ValidationEventArgs に追加して、TrackingProfileDeserializationException をスローします。 このクラスのすべての例外が ValidationEventArgs を設定するわけではありません。

適用対象