Message handler, called when NA layer changed.
[Visual Basic .NET] Public Sub OnLayerChange ( _ ByVal layers As IEnumLayer, _ ByVal autoShow As Boolean _ )
[C#] public void OnLayerChange ( IEnumLayer layers, bool autoShow );
Product Availability
Available with ArcGIS Desktop. Requires Network Analyst Extension.