<activated> Element (Service Instance)
Contains information about client-activated objects that the application exposes to clients.
<activated
type="type,assembly"
/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
type |
Required attribute. Specifies the full type name of the object and the name of the assembly that contains the type implementation. This includes version, culture, and public key information if the containing assembly is in the global assembly cache. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
application |
Contains information about remote objects that the application consumes and exposes. |
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
service |
Contains objects that the application exposes to other application domains or contexts. |
system.runtime.remoting |
Contains information about remote objects and channels. |
Example
The following configuration file declares a client-activated type.
<configuration>
<system.runtime.remoting>
<application>
<service>
<activated type="ClientActivatedType, RemoteAssembly"/>
</service>
</application>
</system.runtime.remoting>
</configuration>