Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.servicekey.name

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > ServiceKey > name

ServiceKey.name property

The name of the service.

Signature:

readonly name: string;

Remarks

This name is used for logging and diagnostic purposes only. To make it unique, the recommended convention is the package name, followed by a period, followed by the class or interface name.

The system does not assume that this string is unique. Instead, the ServiceKey.id is used wherever a lookup key is needed.

Clone this wiki locally