Compartilhar via


WSTrustChannel Construtor

Definição

Inicializa uma nova instância da 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)

Parâmetros

factory
WSTrustChannelFactory

O WSTrustChannelFactory que está criando o canal.

inner
IWSTrustChannelContract

O IWSTrustChannelContract que o canal usará para enviar e receber objetos Message.

trustVersion
TrustVersion

A versão do WS-Trust que o canal usará para serializar objetos Message.

context
WSTrustSerializationContext

O WSTrustSerializationContext que o canal usará para serializar mensagens do WS-Trust.

requestSerializer
WSTrustRequestSerializer

O WSTrustRequestSerializer que o canal usará para serializar mensagens de solicitação do WS-Trust.

responseSerializer
WSTrustResponseSerializer

O WSTrustResponseSerializer que o canal usará para serializar mensagens de resposta do WS-Trust.

Aplica-se a