Méthode WSFederationSerializer.CanReadResponse
Checks whether the specified string is a trust message RequestSecurityTokenResponse with a namespace that is recognized by the wrapped WSTrustResponseSerializer.
Espace de noms: Microsoft.IdentityModel.Protocols.WSFederation
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As WSFederationSerializer Dim trustMessage As String Dim returnValue As Boolean returnValue = instance.CanReadResponse(trustMessage)
Syntaxe
'Déclaration
Public Overridable Function CanReadResponse ( _
trustMessage As String _
) As Boolean
public virtual bool CanReadResponse (
string trustMessage
)
public:
virtual bool CanReadResponse (
String^ trustMessage
)
public boolean CanReadResponse (
String trustMessage
)
public function CanReadResponse (
trustMessage : String
) : boolean
Paramètres
- trustMessage
The trust message to check.
Valeur de retour
True if trustMessage is a valid RequestSecurityTokenResponse with a namespace that matches the WS-Trust version that this Serializer supports.
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 WSFederationSerializer
Membres WSFederationSerializer
Espace de noms Microsoft.IdentityModel.Protocols.WSFederation