Partager via


WSTrustChannel Constructeur

Définition

Initialise une nouvelle instance de la classe WSTrustChannel.

public:
 WSTrustChannel(System::ServiceModel::Security::WSTrustChannelFactory ^ factory, System::ServiceModel::Security::IWSTrustChannelContract ^ inner, System::ServiceModel::Security::TrustVersion ^ trustVersion, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ requestSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ responseSerializer);
public WSTrustChannel (System.ServiceModel.Security.WSTrustChannelFactory factory, System.ServiceModel.Security.IWSTrustChannelContract inner, System.ServiceModel.Security.TrustVersion trustVersion, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer requestSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer responseSerializer);
new System.ServiceModel.Security.WSTrustChannel : System.ServiceModel.Security.WSTrustChannelFactory * System.ServiceModel.Security.IWSTrustChannelContract * System.ServiceModel.Security.TrustVersion * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer -> System.ServiceModel.Security.WSTrustChannel
Public Sub New (factory As WSTrustChannelFactory, inner As IWSTrustChannelContract, trustVersion As TrustVersion, context As WSTrustSerializationContext, requestSerializer As WSTrustRequestSerializer, responseSerializer As WSTrustResponseSerializer)

Paramètres

factory
WSTrustChannelFactory

WSTrustChannelFactory qui crée le canal.

inner
IWSTrustChannelContract

IWSTrustChannelContract que le canal utilise pour envoyer et recevoir les objets Message.

trustVersion
TrustVersion

Version de WS-Trust que le canal utilisera pour sérialiser les objets Message .

context
WSTrustSerializationContext

WSTrustSerializationContext que le canal utilisera pour sérialiser les messages WS-Trust.

requestSerializer
WSTrustRequestSerializer

WSTrustRequestSerializer que le canal utilisera pour sérialiser les messages de requête WS-Trust.

responseSerializer
WSTrustResponseSerializer

WSTrustResponseSerializer que le canal utilisera pour sérialiser les messages de réponse WS-Trust.

S’applique à