Share via


IdentityErrorDescriber.DuplicateRoleName(String) メソッド

定義

IdentityError指定したrole名前が既に存在することを示す を返します。

public:
 virtual Microsoft::AspNetCore::Identity::IdentityError ^ DuplicateRoleName(System::String ^ role);
public virtual Microsoft.AspNetCore.Identity.IdentityError DuplicateRoleName (string role);
abstract member DuplicateRoleName : string -> Microsoft.AspNetCore.Identity.IdentityError
override this.DuplicateRoleName : string -> Microsoft.AspNetCore.Identity.IdentityError
Public Overridable Function DuplicateRoleName (role As String) As IdentityError

パラメーター

role
String

重複するロール。

戻り値

IdentityError特定のロールrole名が既に存在することを示す 。

適用対象