MessageBusSubscriberOptionsBase Constructor

Initializes an instance of MessageBusSubscriberOptions.

Definition

Namespace: SecretNest.MessageBus.Options
Assembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
C#
protected MessageBusSubscriberOptionsBase(
	int sequence = 0,
	bool isAlwaysExecution = false,
	bool isFinal = true,
	Func<Object?, bool>? conditionCheckingCallback = null
)

Parameters

sequence  Int32  (Optional)
The sequence number of this subscriber when executing. Default value is 0.
isAlwaysExecution  Boolean  (Optional)
Whether the subscriber should be executed regardless of the result of the subscribers those have been executed by this instance. Default value is .
isFinal  Boolean  (Optional)
Whether message should be returned instead of executing subsequent subscribers. Default value is .
conditionCheckingCallback  FuncObject, Boolean  (Optional)
The callback for condition checking.

See Also