ExceptionDispatchInfo.SetCurrentStackTrace(Exception) Method
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.
Stores the current stack trace into the specified Exception instance.
public:
static Exception ^ SetCurrentStackTrace(Exception ^ source);
public static Exception SetCurrentStackTrace(Exception source);
static member SetCurrentStackTrace : Exception -> Exception
Public Shared Function SetCurrentStackTrace (source As Exception) As Exception
- source
- Exception
The unthrown exception.
The source
exception instance with the stack trace included.
The source
argument was null
.
The source
argument was previously thrown or previously had a stack trace stored into it.
Производ | Верзије |
---|---|
.NET | 5, 6, 7, 8, 9, 10 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: