Partager via


Méthode WSTrustChannelFactory.CreateTrustChannel

Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim innerChannel As IWSTrustChannelContract
Dim trustVersion As TrustVersion
Dim context As WSTrustSerializationContext
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer
Dim returnValue As WSTrustChannel

returnValue = Me.CreateTrustChannel(innerChannel, trustVersion, context, requestSerializer, responseSerializer)

Syntaxe

'Déclaration
Protected Overridable Function CreateTrustChannel ( _
    innerChannel As IWSTrustChannelContract, _
    trustVersion As TrustVersion, _
    context As WSTrustSerializationContext, _
    requestSerializer As WSTrustRequestSerializer, _
    responseSerializer As WSTrustResponseSerializer _
) As WSTrustChannel
protected virtual WSTrustChannel CreateTrustChannel (
    IWSTrustChannelContract innerChannel,
    TrustVersion trustVersion,
    WSTrustSerializationContext context,
    WSTrustRequestSerializer requestSerializer,
    WSTrustResponseSerializer responseSerializer
)
protected:
virtual WSTrustChannel^ CreateTrustChannel (
    IWSTrustChannelContract^ innerChannel, 
    TrustVersion^ trustVersion, 
    WSTrustSerializationContext^ context, 
    WSTrustRequestSerializer^ requestSerializer, 
    WSTrustResponseSerializer^ responseSerializer
)
protected WSTrustChannel CreateTrustChannel (
    IWSTrustChannelContract innerChannel, 
    TrustVersion trustVersion, 
    WSTrustSerializationContext context, 
    WSTrustRequestSerializer requestSerializer, 
    WSTrustResponseSerializer responseSerializer
)
protected function CreateTrustChannel (
    innerChannel : IWSTrustChannelContract, 
    trustVersion : TrustVersion, 
    context : WSTrustSerializationContext, 
    requestSerializer : WSTrustRequestSerializer, 
    responseSerializer : WSTrustResponseSerializer
) : WSTrustChannel

Paramètres

  • innerChannel
     
  • trustVersion
     
  • context
     
  • requestSerializer
     
  • responseSerializer
     

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe WSTrustChannelFactory
Membres WSTrustChannelFactory
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust