Shutdown

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

The Shutdown option waits for any currently profiled process to end or detach, and then it turns the profiler off 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 will wait indefinitely. If a time-out parameter is specified, the option returns after the specified number of seconds without turning the profiler off 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 the profiler off or closing the profiling data file.

See Also

VSPerfCmd
Profiling Stand-Alone Applications
Profiling ASP.NET Web Applications
Profiling Services