Property StartUpTimeout
StartUpTimeout
Maximum amount of time allowed before the first message is received. If exceeded, subscription will be automatically unsubscribed.
public TimeSpan? StartUpTimeout { get; init; }
Property Value
Remarks
If not set, all published messages will be received until explicitly unsubscribed or disposed. Use MaxValue or InfiniteTimeSpan to explicitly disable the timeout. Other values must be between zero and ~49.7 days (the maximum supported by Timer); out-of-range values throw ArgumentOutOfRangeException when the subscription starts.