WSTrustChannel Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der WSTrustChannel-Klasse.
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)
Parameter
- factory
- WSTrustChannelFactory
Das WSTrustChannelFactory erstellt den Kanal.
- inner
- IWSTrustChannelContract
Der IWSTrustChannelContract Kanal wird zum Senden und Empfangen von Message Objekten verwendet.
- trustVersion
- TrustVersion
Die Version von WS-Trust der Kanal wird zum Serialisieren Message von Objekten verwendet.
- context
- WSTrustSerializationContext
Der WSTrustSerializationContext Kanal wird zum Serialisieren WS-Trust Nachrichten verwendet.
- requestSerializer
- WSTrustRequestSerializer
Der WSTrustRequestSerializer Kanal wird zum Serialisieren WS-Trust Anforderungsnachrichten verwendet.
- responseSerializer
- WSTrustResponseSerializer
Der WSTrustResponseSerializer Kanal wird zum Serialisieren WS-Trust Antwortnachrichten verwendet.