XppPrePostArgs.setCalledWhen(XppEventHandlerCalledWhen) Method

Definition

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.

Applies to