This documentation is archived and is not being maintained.

ActivatedClientTypeEntry Class

Holds values for an object type registered on the client end as a type that can be activated on the server.

For a list of all members of this type, see ActivatedClientTypeEntry Members.

System.Object
   System.Runtime.Remoting.TypeEntry
      System.Runtime.Remoting.ActivatedClientTypeEntry

[Visual Basic]
Public Class ActivatedClientTypeEntry
   Inherits TypeEntry
[C#]
public class ActivatedClientTypeEntry : TypeEntry
[C++]
public __gc class ActivatedClientTypeEntry : public TypeEntry
[JScript]
public class ActivatedClientTypeEntry extends TypeEntry

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

To create an instance of a client-activated object on the client, you must know its Type, and it must be registered on the client by using the RegisterActivatedClientType method. To obtain a proxy for a new instance of the client-activated object the client must first register a channel with ChannelServices and then activate the object by calling new.

To activate a client-activated object type with the new keyword, you must first register the object type on the client using the RegisterActivatedClientType method. By calling RegisterActivatedClientType you are giving the Remoting infrastructure the location of the remote application where new attempts to create it. If, on the other hand, you use the Activator.CreateInstance method to create a new instance of the client-activated object, you must supply the remote application's URL as a parameter, so no prior registration on the client end is necessary. To supply the Activator.CreateInstance method with the URL of the server on which you want to create the object, you must encapsulate the URL in an instance of the UrlAttribute class.

For a detailed description of client activated objects and remote object activation see Activation.

Requirements

Namespace: System.Runtime.Remoting

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

ActivatedClientTypeEntry Members | System.Runtime.Remoting Namespace | RegisterActivatedClientType | Client Activation

Show: