AuthorizeViewCore.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)
属性值
- 属性