MessageBusExecuteOnceWithReturnTParameter, TReturn(String, TParameter, MessageBusPublisherOptionsTParameter, TReturn) Method
Executes as publisher specified by message name with the argument provided and get the return value.
Namespace: SecretNest.MessageBusAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public override TReturn ExecuteOnceWithReturn<TParameter, TReturn>(
string messageName,
TParameter argument,
MessageBusPublisherOptions<TParameter, TReturn>? options = null
)
Public Overrides Function ExecuteOnceWithReturn(Of TParameter, TReturn) (
messageName As String,
argument As TParameter,
Optional options As MessageBusPublisherOptions(Of TParameter, TReturn) = Nothing
) As TReturn
- messageName String
- The name of this message.
- argument TParameter
- Argument.
- options MessageBusPublisherOptionsTParameter, TReturn (Optional)
- The instance of publisher options. Default is .
- TParameter
- The type of the parameter.
- TReturn
- The type of the return value.
TReturnReturn value.