ServiceDescription.ValidationWarnings 属性
定义
获取一个 StringCollection,其中包含在调用 Read(Stream, Boolean)、Read(TextReader, Boolean)、Read(String, Boolean) 或 Read(XmlReader, Boolean) 并将 validate 参数设置为 true 的情况下生成的所有验证警告。Gets a StringCollection that contains any validation warnings that were generated during a call to Read(Stream, Boolean), Read(TextReader, Boolean), Read(String, Boolean), or Read(XmlReader, Boolean) with the validate parameter set to true.
public:
property System::Collections::Specialized::StringCollection ^ ValidationWarnings { System::Collections::Specialized::StringCollection ^ get(); };
public System.Collections.Specialized.StringCollection ValidationWarnings { get; }
member this.ValidationWarnings : System.Collections.Specialized.StringCollection
Public ReadOnly Property ValidationWarnings As StringCollection
属性值
一个 StringCollection,其中包含在调用 Read(Stream, Boolean)、Read(TextReader, Boolean)、Read(String, Boolean) 或 Read(XmlReader, Boolean) 并将 validate 参数设置为 true 的情况下生成的所有验证警告。A StringCollection that contains any validation warnings that were generated during a call to Read(Stream, Boolean), Read(TextReader, Boolean), Read(String, Boolean), or Read(XmlReader, Boolean) with the validate parameter set to true.