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 執行個體。