RoutePatternException(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of RoutePatternException.
public:
RoutePatternException(System::String ^ pattern, System::String ^ message);
public RoutePatternException (string pattern, string message);
new Microsoft.AspNetCore.Routing.Patterns.RoutePatternException : string * string -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternException
Public Sub New (pattern As String, message As String)
Parameters
- pattern
- String
The route pattern as raw text.
- message
- String
The exception message.