RoleStoreBase<TRole,TKey,TUserRole,TRoleClaim> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
RoleStoreBase(Microsoft::AspNetCore::Identity::IdentityErrorDescriber ^ describer);
public RoleStoreBase (Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer);
new Microsoft.AspNetCore.Identity.RoleStoreBase<'Role, 'Key, 'UserRole, 'RoleClaim (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))> : Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.RoleStoreBase<'Role, 'Key, 'UserRole, 'RoleClaim (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))>
Public Sub New (describer As IdentityErrorDescriber)
參數
- describer
- IdentityErrorDescriber