PropertyCollection(Dictionary<String,Object>, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.