IdentityRole<TKey> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IdentityRole<TKey>() |
Initializes a new instance of IdentityRole<TKey>. |
IdentityRole<TKey>(String) |
Initializes a new instance of IdentityRole<TKey>. |
Initializes a new instance of IdentityRole<TKey>.
public:
IdentityRole();
C#
public IdentityRole ();
Public Sub New ()
Applies to
ASP.NET Core 1.1 a ASP.NET Core 1.0
Produkt | Versiounen |
---|---|
ASP.NET Core | 1.0, 1.1 |
Initializes a new instance of IdentityRole<TKey>.
public:
IdentityRole(System::String ^ roleName);
C#
public IdentityRole (string roleName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)> : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)>
Public Sub New (roleName As String)
Parameters
- roleName
- String
The role name.
Applies to
ASP.NET Core 1.1
Produkt | Versiounen |
---|---|
ASP.NET Core | 1.1 |