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 Constructor (Type)

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
);

Parameters

delegatingType
The instance of the class Type that encapsulates the call to the method of a object.

Exceptions

Exception Type Condition
ArgumentNullException The delegatingType parameter is null.

Remarks

This constructor is called from a class to generate a delegate based upon the Type object for the class defining the method.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace | TypeDelegator Constructor Overload List