Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Technical Question] [v2] How to set Properties on TelemetryMessage #3395

Closed
nikoraes opened this issue Nov 16, 2023 · 1 comment
Closed
Labels
IoTSDK Tracks all IoT SDK issues across the board question Further information is requested.

Comments

@nikoraes
Copy link

Hi,

I'm using v2-preview007.

The 'Properties' in the 'TelemetryMessage' class are readonly (private set).
https://github.com/Azure/azure-iot-sdk-csharp/blob/previews/v2/iothub/device/src/Messaging/TelemetryMessage.cs

How can you set the event properties ?
Or is this a bug in the Telemetry message class?

@nikoraes nikoraes added the question Further information is requested. label Nov 16, 2023
@github-actions github-actions bot added the IoTSDK Tracks all IoT SDK issues across the board label Nov 16, 2023
@nikoraes nikoraes changed the title [Technical Question] v2 - How to set Properties on TelemetryMessage [Technical Question] [v2] How to set Properties on TelemetryMessage Nov 16, 2023
@nikoraes
Copy link
Author

Nevermind, found it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IoTSDK Tracks all IoT SDK issues across the board question Further information is requested.
Projects
None yet
Development

No branches or pull requests

1 participant