我收到此错误
“错误 19 类 'LegacyRouteHandler' 必须为接口 'System.Web.Routing.IRouteHandler' 实现 'Function GetHttpHandler(requestContext As RequestContext) As IHttpHandler'。”
从此代码:
Public Class LegacyRouteHandler
Implements IRouteHandler
Public Function GetHttpHandler(requestContext As RequestContext) As IHttpHandler
Return New LegacyHandler(requestContext)
End Function
End Class
我显然正在实施GetHttpHandler
,有什么想法为什么会出现此错误?