Table of Contents

Class ExtendedCloudEvent

Namespace
Azure.Iot.Operations.Protocol
Assembly
Azure.Iot.Operations.Protocol.dll

A CloudEvent that includes the DataContentType field.

public class ExtendedCloudEvent : CloudEvent
Inheritance
ExtendedCloudEvent
Inherited Members

Constructors

ExtendedCloudEvent(Uri, string, string)

Initializes a new instance of the ExtendedCloudEvent class.

public ExtendedCloudEvent(Uri source, string type = "", string specversion = "1.0")

Parameters

source Uri

The source of the event.

type string

The type of the event.

specversion string

The version of the CloudEvents specification.

Properties

DataContentType

Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.

public string? DataContentType { get; set; }

Property Value

string