共用方式為


DigitalTwinGetResponse<T>(T, ETag) Constructor

Definition

Creates an instance of this class.

protected internal DigitalTwinGetResponse (T digitalTwin, Azure.ETag eTag = default);
new Microsoft.Azure.Devices.DigitalTwinGetResponse<'T> : 'T * Azure.ETag -> Microsoft.Azure.Devices.DigitalTwinGetResponse<'T>
Protected Friend Sub New (digitalTwin As T, Optional eTag As ETag = Nothing)

Parameters

digitalTwin
T

The deserialized digital twin.

eTag
ETag

Weak ETag of the modified resource.

Remarks

This class can be inherited from and set by unit tests for mocking purposes.

Applies to