|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALayerEvents Interface > INALayerEvents.OnNAContextAttached Event (ArcObjects .NET 10.4 SDK) | 
Called after a different network analysis context is attached to the analysis layer.
[Visual Basic .NET] Public Event OnNAContextAttached As OnNAContextAttachedEventHandler
[C#] public event OnNAContextAttachedEventHandler OnNAContextAttached
[C++]
HRESULT OnNAContextAttached(
  INALayer* NALayer
);
[C++]
Parameters NALayer [in]
NALayer is a parameter of type INALayer