Click or drag to resize
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: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
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: ObjectHandle
A handle that must be unwrapped to access the newly created object.
See Also