Dela via


RoutePatternException(String, String) Constructor

Definition

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.

Applies to