Invoke Method (BindingFlags, Binder, Object[], CultureInfo)
Collapse the table of content
Expand the table of content

ConstructorInfo.Invoke Method (BindingFlags, Binder, Object[], CultureInfo)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When implemented in a derived class, invokes the current constructor with the specified arguments, using the specified binder and culture to validate the argument types.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public abstract Object Invoke(
	BindingFlags invokeAttr,
	Binder binder,
	Object[] parameters,
	CultureInfo culture


Type: System.Reflection.BindingFlags
One of the enumeration values that specifies the type of binding.
Type: System.Reflection.Binder
An object that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If binder is null, Type.DefaultBinder is used.
Type: System.Object []
An array of type Object used to match the number, order, and type of the parameters for this constructor, under the constraints of binder. If this constructor does not require parameters, pass null or an array with zero elements; for example, new Object[] {} (New Object() {} in Visual Basic). Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is null. For value-type elements, this value is 0, 0.0, or false, depending on the specific element type.
Type: System.Globalization.CultureInfo
An object that is used to govern the coercion of types. If this is null, the CultureInfo for the current thread is used.

Return Value

Type: System.Object
An instance of the class that is associated with the constructor.


The parameters array does not contain values that match the types accepted by this constructor, under the constraints of the binder.


The invoked constructor throws an exception.


An incorrect number of parameters was passed.


Creation of TypedReference and RuntimeArgumentHandle types is not supported.


The class is abstract.


The constructor is a class initializer.


The constructor is private or protected.

In Windows Phone, you can invoke only accessible constructors.

The number, type, and order of elements in the parameters array must match the number, type, and order of parameters for the constructor reflected by this instance, as determined by the specified binder.

Version Notes

Windows Phone

 Invoke throws an ArgumentException exception instead of a TargetParameterCountException exception when there is a mismatch in the number of arguments.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft