Class SendEndpointConverterCache
- Namespace
- MassTransit.Context
- Assembly
- MassTransit.Abstractions.dll
Caches the converters that allow a raw object to be published using the object's type through the generic Send method.
public class SendEndpointConverterCache
- Inheritance
-
SendEndpointConverterCache
- Inherited Members
Constructors
SendEndpointConverterCache()
public SendEndpointConverterCache()
Methods
Send(ISendEndpoint, object, Type, IPipe<SendContext>, CancellationToken)
public static Task Send(ISendEndpoint endpoint, object message, Type messageType, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)
Parameters
endpoint
ISendEndpointmessage
objectmessageType
Typepipe
IPipe<SendContext>cancellationToken
CancellationToken
Returns
Send(ISendEndpoint, object, Type, CancellationToken)
public static Task Send(ISendEndpoint endpoint, object message, Type messageType, CancellationToken cancellationToken = default)
Parameters
endpoint
ISendEndpointmessage
objectmessageType
TypecancellationToken
CancellationToken