Share via


ServiceObjectAttribute Class

Definition

Defines a class-level attribute that can be used to identify the service object that implements the class.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class ServiceObjectAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type ServiceObjectAttribute = class
    inherit Attribute
Public NotInheritable Class ServiceObjectAttribute
Inherits Attribute
Inheritance
ServiceObjectAttribute
Attributes

Constructors

ServiceObjectAttribute(String, String, String, Int32, Int32)

Creates an instance of the ServiceObjectAttribute class with the specified parameters.

Properties

Compatibility

Gets the compatibility level with any .NET or COM service object.

Description

Gets a description of the service object.

Name

Gets a name of the service object.

Type

Gets the tyoe of the service object.

UposVersion

Gets the UPOS version number of the service object.

UposVersionMajor

Gets the UPOS major version number for the service object.

UposVersionMinor

Gets the UPOS minor version number of the service object.

Applies to