SecurityTokenServiceConfiguration.CreateSecurityTokenService Method
Creates an instance of SecurityTokenService from the type specified in SecurityTokenServiceConfiguration.SecurityTokenService. The method expects the type to implement a constructor that takes in the SecurityTokenServiceConfiguration.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As SecurityTokenServiceConfiguration Dim returnValue As SecurityTokenService returnValue = instance.CreateSecurityTokenService
Syntax
'Declaration
Public Overridable Function CreateSecurityTokenService As SecurityTokenService
public virtual SecurityTokenService CreateSecurityTokenService ()
public:
virtual SecurityTokenService^ CreateSecurityTokenService ()
public SecurityTokenService CreateSecurityTokenService ()
public function CreateSecurityTokenService () : SecurityTokenService
Rückgabewert
Instance of SecurityTokenService.
Ausnahmen
Ausnahmetyp | Bedingung |
---|
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
SecurityTokenServiceConfiguration Class
SecurityTokenServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace