Condividi tramite


PayloadConvention Class

Definition

The payload convention class. It is used to define a specific serializer as well as a specific content encoding.

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

Constructors

PayloadConvention()

Properties

PayloadEncoder

Gets the encoder used for the payload to be serialized.

PayloadSerializer

Gets the serializer used for the payload.

Methods

GetObjectBytes(Object)

Returns the byte array for the convention-based message.

Applies to