Partilhar via


WSTrustResponseBodyWriter Construtor

Definição

Inicializa uma instância da classe 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

O objeto RequestSecurityToken (RSTR) a ser serializado na mensagem de saída.

serializer
WSTrustResponseSerializer

O objeto WSTrustRequestSerializer a ser usado para serializar o RSTR.

context
WSTrustSerializationContext

Um WSTrustSerializationContext que contém o contexto de serialização.

Exceções

requestSecurityTokenResponse é null.

- ou - serializer é null.

- ou - serializationContext é null.

Aplica-se a