mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 14:19:26 +00:00
20 lines
503 B
Markdown
20 lines
503 B
Markdown
# ProcessCrashInformation
|
|||
|
|
|
||
|
|
Crash information supplied by the `Session::ProcessCrashed` event.
|
||
|
|
|
||
|
|
**Properties**
|
||
|
|
|
||
|
|
| Property | Type |
|
||
|
|
|---|---|
|
||
|
|
| `DumpPath()` | `hstring` |
|
||
|
|
| `ProcessName()` | `hstring` |
|
||
|
|
| `Pid()` | `uint32_t` |
|
||
|
|
| `Signal()` | `uint32_t` |
|
||
|
|
| `Timestamp()` | `winrt::Windows::Foundation::DateTime` |
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
session.ProcessCrashed([](ProcessCrashInformation const& information)
|
||
|
|
{
|
||
|
|
printf("%ws crashed with signal %u\n", information.ProcessName().c_str(), information.Signal());
|
||
|
|
});
|
||
|
|
```
|