Méthode générique ChannelFactoryOperations.CreateChannelWithIssuedToken (ChannelFactory générique, EndpointAddress, SecurityToken)
Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim factory As ChannelFactory(Of T) Dim address As EndpointAddress Dim issuedToken As SecurityToken Dim returnValue As T returnValue = ChannelFactoryOperations.CreateChannelWithIssuedToken(factory, address, issuedToken)
Syntaxe
'Déclaration
<ExtensionAttribute> _
Public Shared Function CreateChannelWithIssuedToken(Of T) ( _
factory As ChannelFactory(Of T), _
address As EndpointAddress, _
issuedToken As SecurityToken _
) As T
[ExtensionAttribute]
public static T CreateChannelWithIssuedToken<T> (
ChannelFactory<T> factory,
EndpointAddress address,
SecurityToken issuedToken
)
[ExtensionAttribute]
public:
generic<typename T>
static T CreateChannelWithIssuedToken (
ChannelFactory<T>^ factory,
EndpointAddress^ address,
SecurityToken^ issuedToken
)
Paramètres
- factory
- address
- issuedToken
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 ChannelFactoryOperations
Membres ChannelFactoryOperations
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust