Partager via


<activated> Element (Service Instance)

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

<configuration>
   <system.runtime.remoting>
      <application>
         <service>
            <activated>

<activated 
   type="type,assembly" 
/>

Required Attributes

Attribute Description
type 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.

Example

The following configuration file declares a client-activated type.

<configuration>
   <system.runtime.remoting>
      <application>
         <service>
            <activated type="ClientActivatedType, RemoteType"/>
            />
         </service>
      </application>
   </system.runtime.remoting>
</configuration>

Requirements

Configuration Files: Application configuration file, machine configuration file (Machine.config)

See Also

Remoting Settings Schema | Activation