WSFederationSerializer.CanReadResponse(String) Método

Definição

Verifica se a cadeia de caracteres especificada é uma mensagem de wst:RequestSecurityTokenResponse com um namespace reconhecido pelo WSTrustResponseSerializer encapsulado.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

Parâmetros

trustMessage
String

A mensagem do WS-Trust a verificar.The WS-Trust message to check.

Retornos

Boolean

true se a mensagem for uma mensagem wst:RequestSecurityTokenResponse válida com um namespace que coincida com o protocolo WS-Trust compatível com este WSFederationSerializer; caso contrário, false.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.

Aplica-se a