Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Creates object instance using constructor that matches specified parameters.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static Object CreateInstanceSafe(
	Type objectType,
	params Object[] parameters
)

Parameters

objectType
Type: System..::..Type
Type of object to create.
parameters
Type: array<System..::..Object>[]()[][]
Serializer parameters.

Return Value

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