Method CreateInstance
CreateInstance(Type, ActivatorSecurityToken)
Creates an instance of a give type.
Declaration
object CreateInstance(Type objectType, ActivatorSecurityToken securityToken)
Parameters
Type | Name | Description |
---|---|---|
Type | objectType | Type of object whose an instance is requested. |
ActivatorSecurityToken | securityToken | A security token. |
Returns
Type | Description |
---|---|
Object | A new instance of type |