WSTrustFeb2005ResponseSerializer.CanRead(XmlReader) 方法
定义
检查该指定的 XML 读取器是否通过命名空间“http://schemas.xmlsoap.org/ws/2005/02/trust”放置于 RequestSecurityTokenResponse 元素。Checks if the specified XML reader is positioned at a RequestSecurityTokenResponse element with namespace "http://schemas.xmlsoap.org/ws/2005/02/trust".
public:
override bool CanRead(System::Xml::XmlReader ^ reader);
public override bool CanRead (System.Xml.XmlReader reader);
override this.CanRead : System.Xml.XmlReader -> bool
Public Overrides Function CanRead (reader As XmlReader) As Boolean
参数
返回
如果读取器通过命名空间“http://schemas.xmlsoap.org/ws/2005/02/trust”放置于 RequestSecurityTokenResponse 元素,则为 true;否则为 false。true if the reader is positioned at a RequestSecurityTokenResponse element with namespace "http://schemas.xmlsoap.org/ws/2005/02/trust"; otherwise, false.
例外
reader 为 null。reader is null.