EventGridModelFactory.DeviceTwinInfoProperties(DeviceTwinProperties, DeviceTwinProperties) Method

Definition

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

DeviceTwinInfoProperties

A new DeviceTwinInfoProperties instance for mocking.

Applies to