Editar

Partilhar via


WSTrustChannel Constructor

Definition

Initializes a new instance of the WSTrustChannel class.

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)

Parameters

factory
WSTrustChannelFactory

The WSTrustChannelFactory that is creating the channel.

inner
IWSTrustChannelContract

The IWSTrustChannelContract the channel will use to send and receive Message objects.

trustVersion
TrustVersion

The version of WS-Trust the channel will use for serializing Message objects.

context
WSTrustSerializationContext

The WSTrustSerializationContext the channel will use for serializing WS-Trust messages.

requestSerializer
WSTrustRequestSerializer

The WSTrustRequestSerializer the channel will use for serializing WS-Trust request messages.

responseSerializer
WSTrustResponseSerializer

The WSTrustResponseSerializer the channel will use for serializing WS-Trust response messages.

Applies to