Initializes a new instance of the class TypeDelegator with the delegating Type parameter.
[Visual Basic] Overloads Public Sub New( _ ByVal delegatingType As Type _ ) [C#] public TypeDelegator( Type delegatingType ); [C++] public: TypeDelegator( Type* delegatingType ); [JScript] public function TypeDelegator( delegatingType : Type );
Exception Type | Condition |
---|---|
ArgumentNullException | The delegatingType parameter is null. |
This constructor is called from a class to generate a delegate based upon the Type object for the class defining the method.
TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace | TypeDelegator Constructor Overload List