Méthode WSTrustRequestSerializer.CanRead
When implemented in the derived class checks if the given reader is positioned at a RequestSecurityToken element.
Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As WSTrustRequestSerializer Dim reader As XmlReader Dim returnValue As Boolean returnValue = instance.CanRead(reader)
Syntaxe
'Déclaration
Public MustOverride Function CanRead ( _
reader As XmlReader _
) As Boolean
public abstract bool CanRead (
XmlReader reader
)
public:
virtual bool CanRead (
XmlReader^ reader
) abstract
public abstract boolean CanRead (
XmlReader reader
)
public abstract function CanRead (
reader : XmlReader
) : boolean
Paramètres
- reader
The reader to read from.
Valeur de retour
Returns Boolean. true if the reader is positioned at an RST element that this serializer can read; otherwise, false.
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe WSTrustRequestSerializer
Membres WSTrustRequestSerializer
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust