Class AssetChangedEventArgs
- Namespace
- Azure.Iot.Operations.Services.Assets
- Assembly
- Azure.Iot.Operations.Services.dll
EventArgs with context about which Asset changed and what kind of change happened to it.
public class AssetChangedEventArgs : EventArgs
- Inheritance
-
AssetChangedEventArgs
- Inherited Members
Properties
Asset
The new value of the asset.
public Asset? Asset { get; set; }
Property Value
Remarks
This value is null if the asset was deleted.
AssetName
The name of the asset that changed. This value is provided even if the asset was deleted.
public string AssetName { get; set; }
Property Value
ChangeType
Specifies if the change in this asset was that it was updated, deleted, or created
public ChangeType ChangeType { get; set; }