你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudEventDataFormat Enum

Definition

Specifies the format that the data of a CloudEvent should be sent in when using the JSON envelope format for a CloudEvent. https://github.com/cloudevents/spec/blob/v1.0/json-format.md#31-handling-of-data.

public enum CloudEventDataFormat
type CloudEventDataFormat = 
Public Enum CloudEventDataFormat
Inheritance
CloudEventDataFormat

Fields

Name Value Description
Binary 0

Indicates the Data should be serialized as binary data. This data will be included as a Base64 encoded string in the "data_base64" field of the JSON payload.

Json 1

Indicates the Data should be serialized as JSON. The data will be included in the "data" field of the JSON payload.

Applies to