Class SendConsumeContextExecuteExtensions
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public static class SendConsumeContextExecuteExtensions- Inheritance
- 
      
      SendConsumeContextExecuteExtensions
- Inherited Members
Methods
Send(ConsumeContext, Uri, object, Action<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Action<SendContext> callback)Parameters
- contextConsumeContext
- destinationAddressUri
- messageobject
- The message 
- callbackAction<SendContext>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Send(ConsumeContext, Uri, object, Func<SendContext, Task>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Func<SendContext, Task> callback)Parameters
- contextConsumeContext
- destinationAddressUri
- messageobject
- The message 
- callbackFunc<SendContext, Task>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Send(ConsumeContext, Uri, object, Type, Action<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType, Action<SendContext> callback)Parameters
- contextConsumeContext
- destinationAddressUri
- messageobject
- The message 
- messageTypeType
- callbackAction<SendContext>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Send(ConsumeContext, Uri, object, Type, Func<SendContext, Task>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType, Func<SendContext, Task> callback)Parameters
- contextConsumeContext
- destinationAddressUri
- messageobject
- The message 
- messageTypeType
- callbackFunc<SendContext, Task>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Send<T>(ConsumeContext, Uri, object, Action<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, Action<SendContext<T>> callback) where T : classParameters
- contextConsumeContext
- destinationAddressUri
- valuesobject
- callbackAction<SendContext<T>>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Type Parameters
- T
- The message type 
Send<T>(ConsumeContext, Uri, object, Func<SendContext<T>, Task>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, Func<SendContext<T>, Task> callback) where T : classParameters
- contextConsumeContext
- destinationAddressUri
- valuesobject
- callbackFunc<SendContext<T>, Task>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Type Parameters
- T
- The message type 
Send<T>(ConsumeContext, Uri, T, Action<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, Action<SendContext<T>> callback) where T : classParameters
- contextConsumeContext
- destinationAddressUri
- messageT
- The message 
- callbackAction<SendContext<T>>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Type Parameters
- T
- The message type 
Send<T>(ConsumeContext, Uri, T, Func<SendContext<T>, Task>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, Func<SendContext<T>, Task> callback) where T : classParameters
- contextConsumeContext
- destinationAddressUri
- messageT
- The message 
- callbackFunc<SendContext<T>, Task>
- The callback for the send context 
Returns
- Task
- The task which is completed once the Send is acknowledged by the broker 
Type Parameters
- T
- The message type