EventGridModelFactory.DeviceTwinProperties 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 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.
Returns
A new DeviceTwinProperties instance for mocking.