ObjectUtilsCreateInstanceSafe Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Creates object instance using constructor that matches
specified parameters.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static Object CreateInstanceSafe(
Type objectType,
params Object[] parameters
)
Parameters
- objectType
- Type: SystemType
Type of object to create.
- parameters
- Type: SystemObject
Serializer parameters.
Return Value
Type:
Object
An instance of the specified
objectType.
Remarks
Returns null rather than throwing an exception, if the
specified constructor doesn't exist or fails to be invoked.
See Also