RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim> 类    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为角色创建持久性存储的新实例。
generic <typename TRole, typename TKey, typename TUserRole, typename TRoleClaim>
 where TRole : IdentityRole<TKey> where TKey : IEquatable<TKey> where TUserRole : IdentityUserRole<TKey>gcnew() where TRoleClaim : IdentityRoleClaim<TKey>gcnew()public ref class RoleStoreBase abstract : IDisposable, Microsoft::AspNetCore::Identity::IQueryableRoleStore<TRole>, Microsoft::AspNetCore::Identity::IRoleClaimStore<TRole>, Microsoft::AspNetCore::Identity::IRoleStore<TRole>
	public abstract class RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim> : IDisposable, Microsoft.AspNetCore.Identity.IQueryableRoleStore<TRole>, Microsoft.AspNetCore.Identity.IRoleClaimStore<TRole>, Microsoft.AspNetCore.Identity.IRoleStore<TRole> where TRole : IdentityRole<TKey> where TKey : IEquatable<TKey> where TUserRole : IdentityUserRole<TKey>, new() where TRoleClaim : IdentityRoleClaim<TKey>, new()
	type RoleStoreBase<'Role, 'Key, 'UserRole, 'RoleClaim (requires 'Role :> IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'RoleClaim :> IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))> = class
    interface IQueryableRoleStore<'Role (requires 'Role :> IdentityRole<'Key>)>
    interface IRoleStore<'Role (requires 'Role :> IdentityRole<'Key>)>
    interface IDisposable
    interface IRoleClaimStore<'Role (requires 'Role :> IdentityRole<'Key>)>
	Public MustInherit Class RoleStoreBase(Of TRole, TKey, TUserRole, TRoleClaim)
Implements IDisposable, IQueryableRoleStore(Of TRole), IRoleClaimStore(Of TRole), IRoleStore(Of TRole)
    类型参数
- TRole
 
表示角色的类的类型。
- TKey
 
角色的主键的类型。
- TUserRole
 
表示用户角色的类的类型。
- TRoleClaim
 
表示角色声明的类的类型。
- 继承
 - 
				RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim>
 
- 实现
 
构造函数
| RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim>(IdentityErrorDescriber) | 
属性
| ErrorDescriber | 
		 获取或设置 IdentityErrorDescriber 当前操作发生的任何错误的 。  | 
        	
| Roles | 
		 存储区包含的角色的导航属性。  |