Méthode FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase)
Helper method that Initializes the SecurityTokenManager that will be exposed through the given ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with IdentityServiceConfiguration through the ServiceHost SecurityTokenManager.
Espace de noms: Microsoft.IdentityModel.Tokens
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim serviceHost As ServiceHostBaseFederatedServiceCredentials.ConfigureServiceHost(serviceHost)
Syntaxe
'Déclaration
Public Shared Sub ConfigureServiceHost ( _
serviceHost As ServiceHostBase _
)
public static void ConfigureServiceHost (
ServiceHostBase serviceHost
)
public:
static void ConfigureServiceHost (
ServiceHostBase^ serviceHost
)
public static void ConfigureServiceHost (
ServiceHostBase serviceHost
)
public static function ConfigureServiceHost (
serviceHost : ServiceHostBase
)
Paramètres
- serviceHost
ServiceHost instance to configure with FederatedSecurityTokenManager.
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 FederatedServiceCredentials
Membres FederatedServiceCredentials
Espace de noms Microsoft.IdentityModel.Tokens