EventGridModelFactory.DeviceTwinInfoProperties Method
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.
Initializes a new instance of DeviceTwinInfoProperties.
public static Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfoProperties DeviceTwinInfoProperties (Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties desired = default, Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties reported = default);
static member DeviceTwinInfoProperties : Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties * Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties -> Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfoProperties
Public Shared Function DeviceTwinInfoProperties (Optional desired As DeviceTwinProperties = Nothing, Optional reported As DeviceTwinProperties = Nothing) As DeviceTwinInfoProperties
Parameters
- desired
- DeviceTwinProperties
A portion of the properties that can be written only by the application back-end, and read by the device.
- reported
- DeviceTwinProperties
A portion of the properties that can be written only by the device, and read by the application back-end.
Returns
A new DeviceTwinInfoProperties instance for mocking.