PropertyCollection(Dictionary<String,Object>, Boolean) Constructor

Definition

Creates an instance of this class.

protected internal PropertyCollection (System.Collections.Generic.Dictionary<string,object> properties, bool responseFromService = false);
new Microsoft.Azure.Devices.Client.PropertyCollection : System.Collections.Generic.Dictionary<string, obj> * bool -> Microsoft.Azure.Devices.Client.PropertyCollection
Protected Friend Sub New (properties As Dictionary(Of String, Object), Optional responseFromService As Boolean = false)

Parameters

properties
Dictionary<String,Object>

The properies that will be set to this collection. These can be either client reported properties or property update requests received from service.

responseFromService
Boolean

A flag that indicates if this property collection was received from service or if it was user-constructed.

Remarks

This class can be inherited from and set by unit tests for mocking purposes.

Applies to