Delegate Class

Windows Automotive 5.0/5.5
Represents a delegate, which is a data structure that refers to a static method or to a class instance and an instance method of that class.

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

public abstract class Delegate

The Delegate class is the base class for delegate types. Note, however, that only the system and compilers can derive types explicitly from the Delegate class or from the MulticastDelegate class. Also, you cannot derive a new type from a delegate type. The Delegate class is not considered a delegate type; rather, it is a class that you use to derive delegate types.

Most programming languages provide a delegate keyword, and compilers for those languages are able to derive types from the Delegate and MulticastDelegate classes. Therefore, you should use the delegate keyword provided by each language.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions