MessageDestinationFeatureExtensions.SetMessageDestinationFeatures 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.
Sets the destinationFeatures
in context
.
public:
[System::Runtime::CompilerServices::Extension]
static void SetMessageDestinationFeatures(System::Cloud::Messaging::MessageContext ^ context, Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ destinationFeatures);
public static void SetMessageDestinationFeatures(this System.Cloud.Messaging.MessageContext context, Microsoft.AspNetCore.Http.Features.IFeatureCollection destinationFeatures);
static member SetMessageDestinationFeatures : System.Cloud.Messaging.MessageContext * Microsoft.AspNetCore.Http.Features.IFeatureCollection -> unit
<Extension()>
Public Sub SetMessageDestinationFeatures (context As MessageContext, destinationFeatures As IFeatureCollection)
Parameters
- context
- MessageContext
- destinationFeatures
- IFeatureCollection
Exceptions
If any of the parameters is null.
Remarks
Implementation libraries should set the features to context
in their IMessageDestination implementations.