RouteBase.OnVirtualPathGenerated(VirtualPathContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每当虚拟路径派生自 时执行 context
。
protected:
abstract Microsoft::AspNetCore::Routing::VirtualPathData ^ OnVirtualPathGenerated(Microsoft::AspNetCore::Routing::VirtualPathContext ^ context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData? OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
abstract member OnVirtualPathGenerated : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
Protected MustOverride Function OnVirtualPathGenerated (context As VirtualPathContext) As VirtualPathData
参数
- context
- VirtualPathContext
一个 VirtualPathContext 实例。
返回
一个 VirtualPathData 实例。