RsaClaimsIdentity Конструктор (Универсальный IEnumerable, String)
Initializes an instance of T:Microsoft.IdentityModel.Claims.ClaimsIdentity using an enumerated collection of T:Microsoft.IdentityModel.Claims.Claim objects and the specified authentication type.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim claims As IEnumerable(Of Claim) Dim authenticationType As String Dim instance As New RsaClaimsIdentity(claims, authenticationType)
Синтаксис
'Декларация
Public Sub New ( _
claims As IEnumerable(Of Claim), _
authenticationType As String _
)
public RsaClaimsIdentity (
IEnumerable<Claim> claims,
string authenticationType
)
public:
RsaClaimsIdentity (
IEnumerable<Claim^>^ claims,
String^ authenticationType
)
public RsaClaimsIdentity (
IEnumerable<Claim> claims,
String authenticationType
)
public function RsaClaimsIdentity (
claims : IEnumerable<Claim>,
authenticationType : String
)
Параметры
- claims
The collection of Claim objects to populate the RsaClaimsIdentity with.
- authenticationType
The type of authentication used.
Исключения
Тип исключений | Условие |
---|
Примечания
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс RsaClaimsIdentity
RsaClaimsIdentity Члены
Пространство имен Microsoft.IdentityModel.Claims