Task Stat(ImessageSession session), parameter session doesn't contain any value

Endpoint related configuration present in separate endpoint.cs file and Task Start and Stop is in different endpointstart.cs file which inherits IWantToRunWhenEndpointStartsAndStops.

When Host.exe is executed it calls endpoint.cs and the endpointstart.cs When I check session parameter it doent have any values. The same I compared with IBus(v5) it has all the value of endpoint related configuration. Is am missing something?

Task Start(IMessageSession session)
{
}

image

The MessageSession in V6 has different internal implementation than the UnicastBus (the closest V5 equivalent) and that’s why it looks different in the debugger.