C#
C++
F#
VB
CloudFile.::..ClearRangeAsync Method (Int64, Int64)(Int64, Int64)(Int64, Int64)(Int64, Int64)
Returns a task that performs an asynchronous operation to clear ranges from a file.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task ClearRangeAsync( long startOffset, long length )
C++
public: [DoesServiceRequestAttribute] virtual Task^ ClearRangeAsync( long long startOffset, long long length )
[<DoesServiceRequestAttribute>] abstract ClearRangeAsync : startOffset:int64 * length:int64 -> Task [<DoesServiceRequestAttribute>] override ClearRangeAsync : startOffset:int64 * length:int64 -> Task
<DoesServiceRequestAttribute> Public Overridable Function ClearRangeAsync ( startOffset As Long, length As Long ) As Task
Parameters
- startOffset
-
Type:
System.Int64System::Int64System.Int64System.Int64
The offset at which to begin clearing ranges, in bytes.
- length
-
Type:
System.Int64System::Int64System.Int64System.Int64
The length of the data range to be cleared, in bytes.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the current operation.