Partager via


WSTrustResponseBodyWriter Constructeur

Définition

Initialise une instance de la 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)

Paramètres

requestSecurityTokenResponse
RequestSecurityTokenResponse

Objet RequestSecurityToken (RSTR) à sérialiser dans le message sortant.

serializer
WSTrustResponseSerializer

Objet WSTrustRequestSerializer utilisé pour sérialiser le RSTR.

context
WSTrustSerializationContext

WSTrustSerializationContext, qui contient le contexte pour la sérialisation.

Exceptions

requestSecurityTokenResponse a la valeur null.

-ou-

serializer a la valeur null.

-ou-

serializationContext a la valeur null.

S’applique à