JsonRpc.IsFatalException(Exception) 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.
Indicates whether the connection should be closed when the server throws an exception.
protected virtual bool IsFatalException (Exception ex);
abstract member IsFatalException : Exception -> bool
override this.IsFatalException : Exception -> bool
Protected Overridable Function IsFatalException (ex As Exception) As Boolean
Parameters
Returns
A Boolean indicating if the streams should be closed.
Remarks
This method is invoked within the context of an exception filter or when a task fails to complete and simply returns false by default. If the process should crash on an exception, calling FailFast(String, Exception) will produce such behavior.