ProxyAttribute::CreateInstance Method (Type^)
.NET Framework (current version)
Creates either an uninitialized MarshalByRefObject or a transparent proxy, depending on whether the specified type can exist in the current context.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] virtual MarshalByRefObject^ CreateInstance( Type^ serverType )
Parameters
- serverType
-
Type:
System::Type^
The object type to create an instance of.
Return Value
Type: System::MarshalByRefObject^An uninitialized MarshalByRefObject or a transparent proxy.
.NET Framework
Available since 1.1
Available since 1.1
Show: