WSFederationSerializer.CanReadRequest(String) Method

Definition

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

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

Parameters

trustMessage
String

The WS-Trust message to check.

Returns

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

Applies to