ParserContext.OnError Method
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.
Overloads
OnError(RazorError) | |
OnError(SourceLocation, String, Int32) | |
OnError(SourceLocation, String, Int32, Object[]) |
OnError(RazorError)
public:
void OnError(Microsoft::AspNetCore::Razor::RazorError ^ error);
public void OnError (Microsoft.AspNetCore.Razor.RazorError error);
member this.OnError : Microsoft.AspNetCore.Razor.RazorError -> unit
Public Sub OnError (error As RazorError)
Parameters
- error
- RazorError
Applies to
OnError(SourceLocation, String, Int32)
public:
void OnError(Microsoft::AspNetCore::Razor::SourceLocation location, System::String ^ message, int length);
public void OnError (Microsoft.AspNetCore.Razor.SourceLocation location, string message, int length);
member this.OnError : Microsoft.AspNetCore.Razor.SourceLocation * string * int -> unit
Public Sub OnError (location As SourceLocation, message As String, length As Integer)
Parameters
- location
- SourceLocation
- message
- String
- length
- Int32
Applies to
OnError(SourceLocation, String, Int32, Object[])
public:
void OnError(Microsoft::AspNetCore::Razor::SourceLocation location, System::String ^ message, int length, ... cli::array <System::Object ^> ^ args);
public void OnError (Microsoft.AspNetCore.Razor.SourceLocation location, string message, int length, params object[] args);
member this.OnError : Microsoft.AspNetCore.Razor.SourceLocation * string * int * obj[] -> unit
Public Sub OnError (location As SourceLocation, message As String, length As Integer, ParamArray args As Object())
Parameters
- location
- SourceLocation
- message
- String
- length
- Int32
- args
- Object[]