Specifies whether to apply the customizedDebugAction when this exception is thrown.

C# |
public bool ApplyCustomizedDebugAction { set; }

Flag to indicate whether to apply customizedDebugAction.

This method can be used to specify whether to apply the customizedDebugAction, specified in the Service > Control > Method > Exception section of the application profile, when this exception is thrown. This behavior is applicable only if debugSetting="customized" in the Service section of the application profile. By default, if you do not call this method, the customizedDebugAction is applied when this exception is thrown.
You can use this method when you are throwing an expected exception and do not need to debug it. For example, if the customizedDebugAction="writeServiceEventReplayFiles" then you can avoid the overhead of creating unnecessary SERL files by setting ApplyCustomizedDebugAction false on the exception before throwing it.