Partager via


WSTrustRequestBodyWriter Constructeur

Définition

Initialise une nouvelle instance de la classe WSTrustRequestBodyWriter.

public:
 WSTrustRequestBodyWriter(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ requestSecurityToken, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ serializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ serializationContext);
public WSTrustRequestBodyWriter (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer serializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext serializationContext);
new System.ServiceModel.Security.WSTrustRequestBodyWriter : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.WSTrustRequestBodyWriter
Public Sub New (requestSecurityToken As RequestSecurityToken, serializer As WSTrustRequestSerializer, serializationContext As WSTrustSerializationContext)

Paramètres

requestSecurityToken
RequestSecurityToken

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

serializer
WSTrustRequestSerializer

Objet WSTrustRequestSerializer utilisé pour sérialiser le RST.

serializationContext
WSTrustSerializationContext

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

Exceptions

requestSecurityToken a la valeur null.

-ou- serializer est null.

-ou- serializationContext a la valeur null.

S’applique à