NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeDelegator.GetConstructorImpl

Gets the constructor that implemented the TypeDelegator.

[Visual Basic]
Overrides Protected Function GetConstructorImpl( _
   ByVal bindingAttr As BindingFlags, _
   ByVal binder As Binder, _
   ByVal callConvention As CallingConventions, _
   ByVal types() As Type, _
   ByVal modifiers() As ParameterModifier _
) As ConstructorInfo
[C#]
protected override ConstructorInfo GetConstructorImpl(
   BindingFlags bindingAttr,
   Binder binder,
   CallingConventions callConvention,
   Type[] types,
   ParameterModifier[] modifiers
);
[C++]
protected: override ConstructorInfo* GetConstructorImpl(
   BindingFlags bindingAttr,
   Binder* binder,
   CallingConventions callConvention,
   Type* types[],
   ParameterModifier* modifiers[]
);
[JScript]
protected override function GetConstructorImpl(
   bindingAttr : BindingFlags,
   binder : Binder,
   callConvention : CallingConventions,
   types : Type[],
   modifiers : ParameterModifier[]
) : ConstructorInfo;

Parameters

bindingAttr
This bit mask affects the way in which the search is conducted. The value is a combination of zero or more bit flags from BindingFlags, such as NonPublic and Default.
binder
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of MemberInfo objects via reflection. If binder is null, the default binder is used. See Binder.
callConvention
The calling conventions.
types
A list of parameter types. The list represents the number, order, and types of the parameters. Types cannot be null; use an appropriate GetMethod method or an empty array to search for a method without parameters.
modifiers
An array of the same length as types with elements that represent the attributes associated with the parameters of the method to get.

Return Value

A ConstructorInfo object for the method that matches the specified criteria, or null if a match cannot be found.

Remarks

The CallingConventions parameter indicates the calling convention for the entry point. If no CallingConventions is specified, a default CallingConventions value of Standard is used.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace | CallingConventions