Export (0) Print
Expand All

ICustomFactory Interface

Enables users to write activation code for managed objects that extend MarshalByRefObject.

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

[Visual Basic]
Public Interface ICustomFactory
[C#]
public interface ICustomFactory
[C++]
public __gc __interface ICustomFactory
[JScript]
public interface ICustomFactory

Remarks

You can enable custom activation by providing a proxy class that implements ICustomFactory and attributing the MarshalByRefObject class with the ProxyAttribute. When the class is activated, the proxy's CreateInstance method is called by the common language runtime to activate the class.

Requirements

Namespace: System.Runtime.InteropServices

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

ICustomFactory Members | System.Runtime.InteropServices Namespace

Show:
© 2014 Microsoft