ServiceAttribute

Overview

This attribute is used to mark types that implement a service available via remote access. The ServiceManager will look for this attribute when searching for classes when a request for the service comes in.

All three properties are mandatory.

Location

 

constructor

Default constructor for ServiceAttribute.

 

constructor

 

ServiceAttribute()

 

Sub New()

ActivatorClass

 

property ActivatorClass: Type read write;

 

Type ActivatorClass { get; set; }

 

Property ActivatorClass() As Type

InvokerClass

The class to be used as invoker for this type. Since invoker and implementation are tightly coupled, this will usually point to the auto-generated Invoker class.

 

property InvokerClass: Type read write;

 

Type InvokerClass { get; set; }

 

Property InvokerClass() As Type

IsCodeFirstService

 

property IsCodeFirstService: Boolean read write;

 

Boolean IsCodeFirstService { get; set; }

 

Property IsCodeFirstService() As Boolean

Name

Specifies the name (also known as Service Name or Interface Name) under which the service will be published.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

ServiceId

 

property ServiceId: String read write;

 

String ServiceId { get; set; }

 

Property ServiceId() As String

 

ActivatorClass

 

property ActivatorClass: Type read write;

 

Type ActivatorClass { get; set; }

 

Property ActivatorClass() As Type

InvokerClass

The class to be used as invoker for this type. Since invoker and implementation are tightly coupled, this will usually point to the auto-generated Invoker class.

 

property InvokerClass: Type read write;

 

Type InvokerClass { get; set; }

 

Property InvokerClass() As Type

IsCodeFirstService

 

property IsCodeFirstService: Boolean read write;

 

Boolean IsCodeFirstService { get; set; }

 

Property IsCodeFirstService() As Boolean

Name

Specifies the name (also known as Service Name or Interface Name) under which the service will be published.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

ServiceId

 

property ServiceId: String read write;

 

String ServiceId { get; set; }

 

Property ServiceId() As String

 

constructor

Default constructor for ServiceAttribute.

 

constructor

 

ServiceAttribute()

 

Sub New()