Android Guides | Samples

Android.App.ServiceAttribute.Name Property

The name of the class that implements the service.


public String Name { get; set; }


A String containing the name of the class that implemenets the service.


The Name property is used to set the //service/@android:name attribute value.

monodroid.exe uses this value to control the name of the generated Android Callable Wrappers . This value cannot follow the Android "shortcut" of using . as the first character; it must be a fully-qualified type name.


Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: