Метод SecurityTokenServiceConfiguration.CreateSecurityTokenService
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.
Пространство имен: Microsoft.IdentityModel.Configuration
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim instance As SecurityTokenServiceConfiguration Dim returnValue As SecurityTokenService returnValue = instance.CreateSecurityTokenService
Синтаксис
'Декларация
Public Overridable Function CreateSecurityTokenService As SecurityTokenService
public virtual SecurityTokenService CreateSecurityTokenService ()
public:
virtual SecurityTokenService^ CreateSecurityTokenService ()
public SecurityTokenService CreateSecurityTokenService ()
public function CreateSecurityTokenService () : SecurityTokenService
Возвращаемое значение
Instance of SecurityTokenService.
Исключения
Тип исключений | Условие |
---|
Безопасность потоков
Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс SecurityTokenServiceConfiguration
SecurityTokenServiceConfiguration Члены
Пространство имен Microsoft.IdentityModel.Configuration