Freigeben über


RsaClaimsIdentity Constructor (Generische/r/s 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.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim claims As IEnumerable(Of Claim)
Dim authenticationType As String

Dim instance As New RsaClaimsIdentity(claims, authenticationType)

Syntax

'Declaration
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
)

Parameter

  • claims
    The collection of Claim objects to populate the RsaClaimsIdentity with.
  • authenticationType
    The type of authentication used.

Ausnahmen

Ausnahmetyp Bedingung

Hinweise

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Siehe auch

Referenz

RsaClaimsIdentity Class
RsaClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace