Compartilhar via


INDDownloadEngineNotifier.OnDataReceived(Byte[], UInt32) Método

Definição

Chamado pelo mecanismo de download quando ele recebe dados.

public:
 void OnDataReceived(Platform::Array <byte> ^ dataBytes, unsigned int bytesReceived);
void OnDataReceived(winrt::array_view <byte> const& dataBytes, uint32_t const& bytesReceived);
/// [Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
void OnDataReceived(winrt::array_view <byte> const& dataBytes, uint32_t const& bytesReceived);
public void OnDataReceived(byte[] dataBytes, uint bytesReceived);
[Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public void OnDataReceived(byte[] dataBytes, uint bytesReceived);
function onDataReceived(dataBytes, bytesReceived)
Public Sub OnDataReceived (dataBytes As Byte(), bytesReceived As UInteger)

Parâmetros

dataBytes

Byte[]

byte[]

A matriz de bytes que contém os dados.

bytesReceived
UInt32

unsigned int

uint32_t

O número de bytes recebidos do fluxo de dados.

Atributos

Aplica-se a