IRouteBuilder.DefaultHandler 属性

定义

获取或设置在将 添加到路由列表但没有指定其自己的时用作处理程序IRouter的默认值IRouter

public:
 property Microsoft::AspNetCore::Routing::IRouter ^ DefaultHandler { Microsoft::AspNetCore::Routing::IRouter ^ get(); void set(Microsoft::AspNetCore::Routing::IRouter ^ value); };
public Microsoft.AspNetCore.Routing.IRouter DefaultHandler { get; set; }
public Microsoft.AspNetCore.Routing.IRouter? DefaultHandler { get; set; }
member this.DefaultHandler : Microsoft.AspNetCore.Routing.IRouter with get, set
Public Property DefaultHandler As IRouter

属性值

适用于