Share via


EventGridModelFactory.DeviceTwinProperties Method

Definition

Initializes a new instance of DeviceTwinProperties.

public static Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties DeviceTwinProperties (Azure.Messaging.EventGrid.SystemEvents.DeviceTwinMetadata metadata = default, float? version = default);
static member DeviceTwinProperties : Azure.Messaging.EventGrid.SystemEvents.DeviceTwinMetadata * Nullable<single> -> Azure.Messaging.EventGrid.SystemEvents.DeviceTwinProperties
Public Shared Function DeviceTwinProperties (Optional metadata As DeviceTwinMetadata = Nothing, Optional version As Nullable(Of Single) = Nothing) As DeviceTwinProperties

Parameters

metadata
DeviceTwinMetadata

Metadata information for the properties JSON document.

version
Nullable<Single>

Version of device twin properties.

Returns

A new DeviceTwinProperties instance for mocking.

Applies to