Table of Contents

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.

public bool OnMessageWithTypes(IMessageSinkMessage message, HashSet<string>? messageTypes)

Parameters

message

The message from the message bus.

messageTypes HashSet<string>

The list of message types, or null.

Returns

bool

Return true to continue running tests, or false to stop.