Obtains the name of the component whose code is currently in execution.

That component occupies the first position from top to bottom in the call stack.

Namespace: Keystone
Assembly: Keystone (in Keystone.dll)

public static string GetCurrentComponentName()
This language is not supported or no code example is available.

Return Value

The current executing component name.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono