Muokkaa

Jaa


WSFederationSerializer.CanReadResponse(String) Method

Definition

Checks whether the specified string is a wst:RequestSecurityTokenResponse message with a namespace that is recognized by the wrapped WSTrustResponseSerializer.

public:
 virtual bool CanReadResponse(System::String ^ trustMessage);
public virtual bool CanReadResponse (string trustMessage);
abstract member CanReadResponse : string -> bool
override this.CanReadResponse : string -> bool
Public Overridable Function CanReadResponse (trustMessage As String) As Boolean

Parameters

trustMessage
String

The WS-Trust message to check.

Returns

true if the message is a valid wst:RequestSecurityTokenResponse message with a namespace that matches the WS-Trust protocol that this WSFederationSerializer supports; otherwise false.

Applies to