WSTrust13ResponseSerializer.CanRead(XmlReader) Method

Definition

Checks if the specified XML reader is positioned at a RequestSecurityTokenResponse or a RequestSecurityTokenResponseCollection element with namespace "http://docs.oasis-open.org/ws-sx/ws-trust/200512".

C#
public override bool CanRead(System.Xml.XmlReader reader);

Parameters

reader
XmlReader

The XmlReader object from which to read.

Returns

true if the reader is positioned at a RequestSecurityTokenResponse or a RequestSecurityTokenResponseCollection element with namespace "http://docs.oasis-open.org/ws-sx/ws-trust/200512"; otherwise, false.

Exceptions

reader is null.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1