DigitalTwinGetResponse<T>(T, ETag) Constructor
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.
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.