Compartir a través de


WSFederationSerializer.GetRequestAsString Método

Definición

Serializa el objeto RequestSecurityToken especificado en una cadena.

public:
 virtual System::String ^ GetRequestAsString(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public virtual string GetRequestAsString (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member GetRequestAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
override this.GetRequestAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
Public Overridable Function GetRequestAsString (request As RequestSecurityToken, context As WSTrustSerializationContext) As String

Parámetros

request
RequestSecurityToken

Objeto RequestSecurityToken que se va a serializar.

context
WSTrustSerializationContext

Contexto de serialización actual.

Devoluciones

Representación serializada en forma de cadena del objeto RequestSecurityToken.

Excepciones

request es null.

O bien

context es null.

Se aplica a