Class UsageInformation
Represents usage information data for telemetry or reporting purposes.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract]
public class UsageInformation
Constructors
View SourceUsageInformation(string, object)
Initializes a new instance of the UsageInformation class.
Declaration
public UsageInformation(string name, object data)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name identifying the type of usage information. |
| object | data | The usage data payload. |
Properties
View SourceData
Gets the usage data payload.
Declaration
[DataMember(Name = "data")]
public object Data { get; }
Property Value
| Type | Description |
|---|---|
| object |
Name
Gets the name identifying the type of usage information.
Declaration
[DataMember(Name = "name")]
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |