RoleInstanceDiagnosticManager.EndOnDemandTransfer Method (Guid)
Stops an on-demand transfer based on its request ID.
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
The following code snippet stops an on-demand transfer for the role instance.
// Stop on-demand transfers for the role. roleInstanceDiagnosticManager.EndOnDemandTransfer(requestID);
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.