dotnet-monitor/documentation/api/defaultprocess.md

6 строки
497 B
Markdown
Исходник Постоянная ссылка Обычный вид История

2021-04-16 09:19:30 +03:00
# Default Process
When using APIs to capture diagnostic artifacts, typically a `pid`, `uid`, or `name` is provided to perform the operation on a specific process. However, these parameters may be omitted if `dotnet monitor` is able to resolve a default process.
2021-04-16 09:19:30 +03:00
The tool is able to resolve a default process if there is one and only one observable process. If there are no processes or there is more than one process, any API that allows operating on the default process will fail when invoked.