Compartir a través de


WSTrustChannel Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

factory
WSTrustChannelFactory

WSTrustChannelFactory que crea el canal.

inner
IWSTrustChannelContract

IWSTrustChannelContract que usará el canal para enviar y recibir objetos Message.

trustVersion
TrustVersion

La versión de WS-Trust que el canal usará para serializar objetos Message.

context
WSTrustSerializationContext

WSTrustSerializationContext que el canal usará para serializar los mensajes de WS-Trust.

requestSerializer
WSTrustRequestSerializer

WSTrustRequestSerializer que el canal usará para serializar los mensajes de solicitud de WS-Trust.

responseSerializer
WSTrustResponseSerializer

WSTrustResponseSerializer que el canal usará para serializar los mensajes de respuesta de WS-Trust.

Se aplica a