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

PayloadEncoder Class

Definition

Specifies the byte encoding for the payload.

public abstract class PayloadEncoder
type PayloadEncoder = class
Public MustInherit Class PayloadEncoder
Inheritance
PayloadEncoder
Derived

Remarks

The encoder is responsible for encoding all objects into the correct bytes for the PayloadConvention that uses it.

By default, there are implementations of the Utf8PayloadEncoder class that uses UTF8 to handle the encoding for the DefaultPayloadConvention class.

Constructors

Name Description
PayloadEncoder()

Properties

Name Description
ContentEncoding

The encoding used for the payload.

Methods

Name Description
EncodeStringToByteArray(String)

Outputs an encoded byte array for the specified payload string.

Applies to