AuthorizeRouteView.NotAuthorized 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果使用者未獲得授權,將會顯示的內容。
public:
property Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ NotAuthorized { Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ get(); void set(Microsoft::AspNetCore::Components::RenderFragment<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> NotAuthorized { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>? NotAuthorized { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.NotAuthorized : Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> with get, set
Public Property NotAuthorized As RenderFragment(Of AuthenticationState)
屬性值
- 屬性