MessageSourcePayloadFeatureExtensions.GetSourcePayload(MessageContext) Method
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.
Gets the message payload obtained from IMessageSource.
public:
[System::Runtime::CompilerServices::Extension]
static ReadOnlyMemory<System::Byte> GetSourcePayload(System::Cloud::Messaging::MessageContext ^ context);
public static ReadOnlyMemory<byte> GetSourcePayload(this System.Cloud.Messaging.MessageContext context);
static member GetSourcePayload : System.Cloud.Messaging.MessageContext -> ReadOnlyMemory<byte>
<Extension()>
Public Function GetSourcePayload (context As MessageContext) As ReadOnlyMemory(Of Byte)
Parameters
- context
- MessageContext
Returns
Message payload as ReadOnlyMemory<T>.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.