This document is archived and information here might be outdated. Recommended version. |
Provides the result object with a reference to the context.
[Visual Basic .NET] Public Sub InitializeEx ( _ ByVal NAContextHelper As INAContextHelper _ )
[C#] public void InitializeEx ( INAContextHelper NAContextHelper );
[C++]
HRESULT InitializeEx(
INAContextHelper* NAContextHelper
);
[C++] Parameters NAContextHelper [in]
NAContextHelper is a parameter of type INAContextHelper*
The InitializeEx method is called after the result object has been deserialized as part of the NAContext being loaded. It is called to pass to the result object a backpointer reference to the NAContext that it's bound to.
The NAContextHelper object passed in is used to get back to the NAContext. You can maintain a strong reference to the NAContextHelper object within your custom result object, but do not hold onto a strong reference to the NAContext itself as this will create a circular reference.