IOperationResultHandler.OnError(String, String, String) 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.
Invoked when an error occurs.
public void OnError (string type, string message, string stackTrace);
abstract member OnError : string * string * string -> unit
Public Sub OnError (type As String, message As String, stackTrace As String)
Parameters
- type
- String
The exception type.
- message
- String
The error message.
- stackTrace
- String
The stack trace.
Remarks
When an OperationException is received, the stack trace should not be shown by default.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework