IotFeedbackBatchTrigger 1.0.0

Simplify creation of Azure Function to catch Complete & Reject message from your Iot Hub client.

There is a newer version of this package available.
See the version list below for details.
Install-Package IotFeedbackBatchTrigger -Version 1.0.0
dotnet add package IotFeedbackBatchTrigger --version 1.0.0
<PackageReference Include="IotFeedbackBatchTrigger" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IotFeedbackBatchTrigger --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IotFeedbackBatchTrigger

Simplify creation of Azure Function to catch Complete & Reject message from your Iot Hub client.

You will found a sample project named "TestFunction" in this repository.
It is a project using the first version of the Azure Function SDK.

Sample

[FunctionName("FeedbackListener")]
public static void Run([IotFeedbackTrigger] FeedbackBatch req, TraceWriter log)
{
    if (req == null)
        return;

    foreach (var record in req.Records)
    {
        log.Info($"Device : {record.DeviceId}, MessageId: {record.OriginalMessageId}, Status: {record.StatusCode}");
    }
}

You can found documentation about the FeedbackBatch here.

The trigger will search after a setting named 'IotHubConnectionString' to connect to the Iot Hub (see).

IotFeedbackBatchTrigger

Simplify creation of Azure Function to catch Complete & Reject message from your Iot Hub client.

You will found a sample project named "TestFunction" in this repository.
It is a project using the first version of the Azure Function SDK.

Sample

[FunctionName("FeedbackListener")]
public static void Run([IotFeedbackTrigger] FeedbackBatch req, TraceWriter log)
{
    if (req == null)
        return;

    foreach (var record in req.Records)
    {
        log.Info($"Device : {record.DeviceId}, MessageId: {record.OriginalMessageId}, Status: {record.StatusCode}");
    }
}

You can found documentation about the FeedbackBatch here.

The trigger will search after a setting named 'IotHubConnectionString' to connect to the Iot Hub (see).

Release Notes

First release.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 265 1/8/2019
1.0.0 335 7/30/2018