BlockList Event
Fires once for each block returned when listing blocks.
Syntax
public event OnBlockListHandler OnBlockList; public delegate void OnBlockListHandler(object sender, AzureblobBlockListEventArgs e); public class AzureblobBlockListEventArgs : EventArgs { public string Id { get; } public int BlockType { get; } public int Size { get; } }
Public Event OnBlockList As OnBlockListHandler Public Delegate Sub OnBlockListHandler(sender As Object, e As AzureblobBlockListEventArgs) Public Class AzureblobBlockListEventArgs Inherits EventArgs Public ReadOnly Property Id As String Public ReadOnly Property BlockType As Integer Public ReadOnly Property Size As Integer End Class
Remarks
This event fires once for each block returned when ListBlocks is called.
Id is the Id of the block.
BlockType reflects the block's type; possible values are:
- abktCommitted (0)
- abktUncommitted (1)
Size reflects the size of the block, in bytes.