mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 06:09:04 +00:00
* 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>
21 lines
503 B
Markdown
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());
|
|
});
|
|
```
|