InvokeConstructor Method

Binder.InvokeConstructor Method (CSharpBinderFlags, Type, IEnumerable<CSharpArgumentInfo>)


This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new CSharp invoke constructor binder.

Namespace:   Microsoft.CSharp.RuntimeBinder
Assembly:  Microsoft.CSharp (in Microsoft.CSharp.dll)

public static CallSiteBinder InvokeConstructor(
	CSharpBinderFlags flags,
	Type context,
	IEnumerable<CSharpArgumentInfo> argumentInfo


Type: Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags

The flags with which to initialize the binder.

Type: System.Type

The Type that indicates where this operation is used.

Type: System.Collections.Generic.IEnumerable<CSharpArgumentInfo>

The sequence of CSharpArgumentInfo instances for the arguments to this operation.

Return Value

Type: System.Runtime.CompilerServices.CallSiteBinder

Returns a new CSharp invoke constructor binder.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft