Bewerken

Delen via


SerializedMessagePayloadFeatureExtensions Class

Definition

Provides extension methods for MessageContext class to add support for ISerializedMessagePayloadFeature<T>.

public ref class SerializedMessagePayloadFeatureExtensions abstract sealed
public static class SerializedMessagePayloadFeatureExtensions
type SerializedMessagePayloadFeatureExtensions = class
Public Module SerializedMessagePayloadFeatureExtensions
Inheritance
SerializedMessagePayloadFeatureExtensions

Methods

GetSerializedPayload<T>(MessageContext)

Gets the message payload as a serialized T type.

SetSerializedPayload<T>(MessageContext, T)

Sets the message payload in the MessageContext as a serialized T type.

TryGetSerializedPayload<T>(MessageContext, T)

Try to get the serialized message payload of T type from the MessageContext.

Applies to