WrappedException.CreateAndRethrow(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.
Creates a new instance of the WrappedException class and rethrows it using the provided exception's stack trace.
public static void CreateAndRethrow (Exception exception);
static member CreateAndRethrow : Exception -> unit
Public Shared Sub CreateAndRethrow (exception As Exception)
Parameters
- exception
- Exception
The exception.