CrashDumps Class


Updated: June 6, 2012

Represents application crash dumps.

Namespace:   Microsoft.WindowsAzure.Diagnostics
Assembly:  Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)


public static class CrashDumps


Enables collection of mini crash dumps or full crash dumps for a role instance.

System_CAPS_pubmethodSystem_CAPS_staticEnableCollectionToDirectory(String, Boolean)

Enables collection mini crash dumps or full crash dumps for a role instance to the specified directory.

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.


This API is not supported in Azure SDK versions 2.5 and higher. Instead, use the diagnostics.wadcfg XML configuration file. For more information, see Collect Logging Data by Using Azure Diagnostics.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top