Sends a message over the service bus.

public abstract Task SendMessageAsync<T>(T message, bool ignoreLocalInstance = False) where T : Redakt.Data.ServiceBus.IServiceBusMessage
Returns:
Task

Parameters

message T

The message to send.

ignoreLocalInstance bool

If true, does not raise the MessageReceived event on the local service instance.

Type Parameters

T IServiceBusMessage

The message type.

In this article