Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<activated> Element (Client Instance) 

Contains client-activated objects that a client application consumes. The <client> element must have a url attribute specified if there is an <activated> element specified, or an exception will be thrown.


<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

configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

system.web

Specifies the root element for the ASP.NET configuration section.

The following configuration file declares a client-activated remote type for consumption and specifies that the client application should use the HttpChannel but allow the .NET Framework remoting system to find an appropriate port on the client's behalf.

<configuration>
   <system.runtime.remoting>
      <application>
         <client 
            url="http://computername:8080"
         />
            <activated
               type="RemoteType, RemoteAssembly"
            />
         </client>
         <channels>
            <channel 
               ref="http" 
               port="0"/>
         </channels>
      </application>
   </system.runtime.remoting>
</configuration>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft