# Setting entry points in .NET batch job analysis

**URL:** <https://community.dynatrace.com/t/setting-entry-points-in-net-batch-job-analysis/30751>\
**Category:** Open Q&A\
**Tags:** dotnet\
**Created:** [March 11, 2021, 8:53am UTC](https://community.dynatrace.com/t/setting-entry-points-in-net-batch-job-analysis/30751 "2021-03-11T08:53:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [March 11, 2021, 8:53am UTC](https://community.dynatrace.com/t/setting-entry-points-in-net-batch-job-analysis/30751/1 "2021-03-11T08:53:28Z")

</div>

I have defined a batch job entry point in “Custom service detection” to analyze .NET batch jobs.

I set the class and method at the entry point. Even if I executed the batch job, only the method set at the entry point could be detected.

I understand that the correct result is to be able to detect the method that follows the entry point as well. Is my understanding correct?

Reagrds,

Toshimasa Shirai

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [March 11, 2021, 11:17am UTC](https://community.dynatrace.com/t/setting-entry-points-in-net-batch-job-analysis/30751/2 "2021-03-11T11:17:46Z")

</div>

Hello&nbsp;[@Shirai](https://community.dynatrace.com/user/32074)

Absolutely right.

OneAgent suppresses method delegation&nbsp; **per service**. That is, any calls between two methods of one service are not recorded. If you need to capture such calls you must create a separate custom service for it.

Have a look at the below link for more insight related to the method delegation.

> **[Define custom services](https://docs.dynatrace.com/docs/observe/application-observability/services-classic/service-detection/service-detection-v1/service-types/custom-services)**
>
> Define entry points (a method, class, or interface) for custom services that don't use standard protocols.

Regards,

Babar
