ActivatorCreateInstance Method (ActivationContext, String) |
Creates an instance of the type that is designated by the specified ActivationContext object and activated with the specified custom activation data.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static ObjectHandle CreateInstance(
ActivationContext activationContext,
string[] activationCustomData
)
Parameters
- activationContext
- Type: SystemActivationContext
An activation context object that specifies the object to create. - activationCustomData
- Type: SystemString
An array of Unicode strings that contain custom activation data.
Return Value
Type:
ObjectHandleA handle that must be unwrapped to access the newly created object.
See Also