Aracılığıyla paylaş


IdentityErrorDescriber.InvalidRoleName(String) Yöntem

Tanım

Belirtilen role adın geçersiz olduğunu belirten bir IdentityError döndürür.

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

Parametreler

role
String

Geçersiz rol.

Döndürülenler

IdentityError Belirli rol role adının geçersiz olduğunu belirten bir.

Şunlara uygulanır