MessageBusBaseExecuteOnceTParameter Method
Executes as publisher specified by message name with the argument provided.
Namespace: SecretNest.MessageBusAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public abstract void ExecuteOnce<TParameter>(
string messageName,
TParameter argument,
MessageBusPublisherOptions<TParameter>? options = null
)
Public MustOverride Sub ExecuteOnce(Of TParameter) (
messageName As String,
argument As TParameter,
Optional options As MessageBusPublisherOptions(Of TParameter) = Nothing
)
- messageName String
- The name of this message.
- argument TParameter
- Argument.
- options MessageBusPublisherOptionsTParameter (Optional)
- The instance of publisher options. Default is .
- TParameter
- The type of the parameter.