An attribute that confers a 'friendly name' on a class and marks it as loadable by LocalServer. The 'friendly name' is used by the ASCOM LocalServer to register the class with the ASCOM Chooser. The 'friendly name' is what gets displayed to the user in the driver selection combo box. This attribute is also used by the LocalServer to filter the assemblies that it will attempt to load at runtime. LocalServer will only load classes bearing this attribute.

Namespace: ASCOM
Assembly: ASCOM.Attributes (in ASCOM.Attributes.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public sealed class ServedClassNameAttribute : Attribute
Visual Basic
Public NotInheritable Class ServedClassNameAttribute _
	Inherits Attribute
Visual C++
public ref class ServedClassNameAttribute sealed : public Attribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    ASCOM..::..ServedClassNameAttribute

See Also