Files
WSL/doc/docs/api-reference/cpp/data-classes/processcrashinformation.md
0704fa160b Update WSLC SDK API documentation (#41677)
* Update WSLC SDK API documentation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update docs

* Update docs

* Quick fixes

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Craig Loewen <crloewen@microsoft.com>
2026-09-29 10:14:54 -04:00

21 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());
});
```