MessageSourcePayloadFeatureExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for MessageContext obtained from IMessageSource for IMessagePayloadFeature.
public ref class MessageSourcePayloadFeatureExtensions abstract sealed
public static class MessageSourcePayloadFeatureExtensions
type MessageSourcePayloadFeatureExtensions = class
Public Module MessageSourcePayloadFeatureExtensions
- Inheritance
-
MessageSourcePayloadFeatureExtensions
Methods
GetSourcePayload(MessageContext) |
Gets the message payload obtained from IMessageSource. |
SetSourcePayload(MessageContext, Byte[]) |
Sets the message payload in the MessageContext obtained from IMessageSource. |
SetSourcePayload(MessageContext, ReadOnlyMemory<Byte>) |
Sets the message payload in the MessageContext obtained from IMessageSource. |
TryGetSourcePayload(MessageContext, Nullable<ReadOnlyMemory<Byte>>) |
Try to get the message payload obtained from IMessageSource. |
TryGetSourcePayloadAsUTF8String(MessageContext, String) |
Gets the message payload obtained from IMessageSource as String. |