Method OnMessageWithTypes
- Namespace
- Xunit.Runner.v2
- Assembly
- xunit.v3.runner.utility.netfx.dll
OnMessageWithTypes(IMessageSinkMessage, HashSet<string>?)
Reports the presence of a message on the message bus with an optional list of message types. This method should never throw exceptions.
bool OnMessageWithTypes(IMessageSinkMessage message, HashSet<string>? messageTypes)
Parameters
messageThe message from the message bus.
messageTypesHashSet<string>The list of message types, or
null.
Returns
- bool
Return
trueto continue running tests, orfalseto stop.