CrashDumps Class
Updated: June 6, 2012
Represents application crash dumps.
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | EnableCollection(Boolean) | Enables collection of mini crash dumps or full crash dumps for a role instance. |
![]() ![]() | EnableCollectionToDirectory(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.
Warning |
|---|
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.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)