SALES: 1-800-867-1380

RoleInstanceDiagnosticManager.CancelOnDemandTransfers Method

Updated: November 15, 2013

Cancel all on-demand transfers that are currently in progress, returning the request ID for each transfer.

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

Public Function CancelOnDemandTransfers ( _
	dataBufferName As DataBufferName _
) As IEnumerable(Of Guid)



Type: Microsoft.WindowsAzure.Diagnostics.DataBufferName

Name of the data buffer.

Return Value

Type: System.Collections.Generic.IEnumerable

A list of request IDs for the on-demand transfers that are in progress.

The CancelOnDemandTransfers method cancels all enqueued on-demand transfers for the specified DataBufferName. Currently there can be only one active transfer per data buffer.

For example, the following code snippet cancels all on-demand transfers for performance counter data.

// Cancel all on-demand transfers for performance counters.

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

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft