UserStoreBase<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的執行個體。
public:
UserStoreBase(Microsoft::AspNetCore::Identity::IdentityErrorDescriber ^ describer);
public UserStoreBase (Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer);
new Microsoft.AspNetCore.Identity.UserStoreBase<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))> : Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.UserStoreBase<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'UserToken, 'RoleClaim (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken) and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'RoleClaim : (new : unit -> 'RoleClaim))>
Public Sub New (describer As IdentityErrorDescriber)
參數
- describer
- IdentityErrorDescriber
, IdentityErrorDescriber 用來描述存放區錯誤。