Compartir a través de


WSTrustChannelFactory.CreateTrustChannel Método

Definición

Crea un objeto WSTrustChannel con parámetros que reflejan la configuración de esta factoría.

protected:
 virtual System::ServiceModel::Security::WSTrustChannel ^ CreateTrustChannel(System::ServiceModel::Security::IWSTrustChannelContract ^ innerChannel, System::ServiceModel::Security::TrustVersion ^ trustVersion, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ requestSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ responseSerializer);
protected virtual System.ServiceModel.Security.WSTrustChannel CreateTrustChannel (System.ServiceModel.Security.IWSTrustChannelContract innerChannel, System.ServiceModel.Security.TrustVersion trustVersion, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer requestSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer responseSerializer);
abstract member CreateTrustChannel : 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
override this.CreateTrustChannel : 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
Protected Overridable Function CreateTrustChannel (innerChannel As IWSTrustChannelContract, trustVersion As TrustVersion, context As WSTrustSerializationContext, requestSerializer As WSTrustRequestSerializer, responseSerializer As WSTrustResponseSerializer) As WSTrustChannel

Parámetros

innerChannel
IWSTrustChannelContract

El canal creado por la clase base capaz de enviar y recibir mensajes.

trustVersion
TrustVersion

La versión de WS-Trust que se debe usar.

context
WSTrustSerializationContext

Objeto WSTrustSerializationContext que se debe usar para serializar los mensajes de WS-Trust.

requestSerializer
WSTrustRequestSerializer

Objeto WSTrustRequestSerializer que se debe usar para serializar los mensajes de solicitud de WS-Trust.

responseSerializer
WSTrustResponseSerializer

Objeto WSTrustResponseSerializer que se debe usar para serializar los mensajes de respuesta de WS-Trust.

Devoluciones

WSTrustChannel

WSTrustChannel que representa el nuevo canal.

Se aplica a