Android Guides | Samples

Android.App.ServiceAttribute.Name Property

The name of the class that implements the service.

Syntax

public String Name { get; set; }

Value

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

Remarks

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.

Requirements

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