Compartir a través de


WSTrustResponseBodyWriter Constructor

Definición

Inicializa una instancia de la clase WSTrustResponseBodyWriter.

public:
 WSTrustResponseBodyWriter(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ requestSecurityTokenResponse, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ serializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public WSTrustResponseBodyWriter (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse requestSecurityTokenResponse, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer serializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
new System.ServiceModel.Security.WSTrustResponseBodyWriter : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.WSTrustResponseBodyWriter
Public Sub New (requestSecurityTokenResponse As RequestSecurityTokenResponse, serializer As WSTrustResponseSerializer, context As WSTrustSerializationContext)

Parámetros

requestSecurityTokenResponse
RequestSecurityTokenResponse

El objeto RequestSecurityToken (RSTR) a serializar en el mensaje saliente.

serializer
WSTrustResponseSerializer

Objeto WSTrustRequestSerializer que se usa para serializar el RSTR.

context
WSTrustSerializationContext

WSTrustSerializationContext que contiene el contexto para la serialización.

Excepciones

requestSecurityTokenResponse es null.

O bien serializer es null.

O bien serializationContext es null.

Se aplica a