WSTrustFeb2005RequestSerializer.CanRead(XmlReader) Método

Definição

Verifica se o leitor fornecido está posicionado em um elemento RequestSecurityToken com o namespace "http://schemas.xmlsoap.org/ws/2005/02/trust".Checks if the given reader is positioned at a RequestSecurityToken element with the 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

Parâmetros

reader
XmlReader

O objeto XmlReader do qual se deve ler.The XmlReader object from which to read.

Retornos

Boolean

true se o leitor estiver posicionado em um elemento RequestSecurityToken com o namespace "http://schemas.xmlsoap.org/ws/2005/02/trust", caso contrário, false.true if the reader is positioned at a RequestSecurityToken element with namespace "http://schemas.xmlsoap.org/ws/2005/02/trust"; otherwise, false.

Exceções

reader é null.reader is null.

Aplica-se a