---
lang: en
title: 'API docs: context.invocationcontext.targetname'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.invocationcontext.targetname.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [InvocationContext](./context.invocationcontext.md) &gt; [targetName](./context.invocationcontext.targetname.md)

## InvocationContext.targetName property

The target name, such as `OrderController.prototype.cancelOrder`

<b>Signature:</b>

```typescript
readonly targetName: string;
```

