Udostępnij za pośrednictwem


Shutdown

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Shutdown option waits for any currently profiled process to end or detach, and then it turns off the profiler and closes the profiling data file. The Shutdown option must be the last command of a profiling run.

If a time-out parameter is not specified, the Shutdown option waits indefinitely. If a time-out parameter is specified, the option returns after the specified number of seconds without turning off the profiler or closing the data file.

The Shutdown option must be the only option specified on the command line.

Syntax

VSPerfCmd.exe /Shutdown[:Timeout]

Parameters

Timeout

  • (Optional) If specified, the option returns after the specified number of seconds without turning off the profiler or closing the profiling data file.

See also