Export (0) Print
Expand All

<activated> Element (Service Instance)

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the  Windows Communication Foundation (WCF).

Contains information about client-activated objects that the application exposes to clients.


<activated  
   type="type,assembly" 
/>

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.

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>

Community Additions

ADD
Show:
© 2014 Microsoft