Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
The CrashDumps class has two methods for enabling collection of crash dump data: EnableCollection and EnableCollectionToDirectory. EnableCollection enables collection of full crash dumps or mini crash dumps to the CrashDumps directory, while EnableCollectionToDirectory enables collection of crash dumps to a specified directory.
You can use CrashDumps with worker roles without additional configuration, but web roles require additional configuration due to robust ASP.NET exception handling.
Development PlatformsWindows Vista, Windows 7 and Windows Server 2008