XppPrePostArgs.setCalledWhen(XppEventHandlerCalledWhen) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the instance is currently serving a pre-handler or a post-handler.
public:
int setCalledWhen(Microsoft::Dynamics::Ax::Xpp::XppEventHandlerCalledWhen value);
public int setCalledWhen (Microsoft.Dynamics.Ax.Xpp.XppEventHandlerCalledWhen value);
member this.setCalledWhen : Microsoft.Dynamics.Ax.Xpp.XppEventHandlerCalledWhen -> int
Public Function setCalledWhen (value As XppEventHandlerCalledWhen) As Integer
Parameters
Returns
Remarks
This method must never be called explicitly from the pre-handler or post-handler code. This method is reserved for unit testing and auto-generated code only.