MessageBusBaseExecuteOnceAndGetMessageInstanceTParameter Method

Executes as publisher specified by message name with the argument provided and get the instance information of this executing.

Definition

Namespace: SecretNest.MessageBus
Assembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
C#
public abstract void ExecuteOnceAndGetMessageInstance<TParameter>(
	string messageName,
	TParameter argument,
	out MessageInstance messageInstance,
	MessageBusPublisherOptions<TParameter>? options = null
)

Parameters

messageName  String
The name of this message.
argument  TParameter
Argument.
messageInstance  MessageInstance
When the method finishes, contains the instance information of this executing.
options  MessageBusPublisherOptionsTParameter  (Optional)
The instance of publisher options. Default is .

Type Parameters

TParameter
The type of the parameter.

See Also