IdentityErrorDescriber.InvalidRoleName(String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.