Partager via


Méthode WSTrustChannelFactory.CreateChannel (EndpointAddress, Uri)

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

Utilisation

    Dim instance As WSTrustChannelFactory
Dim address As EndpointAddress
Dim via As Uri
Dim returnValue As IWSTrustChannelContract

returnValue = instance.CreateChannel(address, via)

Syntaxe

'Déclaration
Public Overrides Function CreateChannel ( _
    address As EndpointAddress, _
    via As Uri _
) As IWSTrustChannelContract
public override IWSTrustChannelContract CreateChannel (
    EndpointAddress address,
    Uri via
)
public:
virtual IWSTrustChannelContract^ CreateChannel (
    EndpointAddress^ address, 
    Uri^ via
) override
public IWSTrustChannelContract CreateChannel (
    EndpointAddress address, 
    Uri via
)
public override function CreateChannel (
    address : EndpointAddress, 
    via : Uri
) : IWSTrustChannelContract

Paramètres

  • address
     
  • via
     

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