Checks whether the specified string is a
trust message RequestSecurityTokenResponse with a namespace that is
recognized by the wrapped
WSTrustResponseSerializer.
Namespace:
Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As WSFederationSerializer
Dim trustMessage As String
Dim returnValue As Boolean
returnValue = instance.CanReadResponse(trustMessage)
|
Syntax
Visual Basic |
Public Overridable Function CanReadResponse ( _
trustMessage As String _
) As Boolean
|
C# |
public virtual bool CanReadResponse (
string trustMessage
)
|
C++ |
public:
virtual bool CanReadResponse (
String^ trustMessage
)
|
J# |
public boolean CanReadResponse (
String trustMessage
)
|
JScript |
public function CanReadResponse (
trustMessage : String
) : boolean
|
Parameters
- trustMessage
-
The trust message to check.
Return Value
True if
trustMessage is a valid RequestSecurityTokenResponse
with a namespace that matches the WS-Trust version that this
Serializer supports.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also