Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventBuilder Class

Defines events for a class.

For a list of all members of this type, see EventBuilder Members.

System.Object
   System.Reflection.Emit.EventBuilder

[Visual Basic]
NotInheritable Public Class EventBuilder
[C#]
public sealed class EventBuilder
[C++]
public __gc __sealed class EventBuilder
[JScript]
public class EventBuilder

Thread Safety

Reflection Emit is thread-safe when using assemblies that were created with the AppDomain.DefineDynamicAssembly method with the Boolean parameter isSynchronized set to true.

Remarks

An EventBuilder is always associated with a TypeBuilder. The TypeBuilder.DefineEvent method will return a new EventBuilder to a client.

Example

Requirements

Namespace: System.Reflection.Emit

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

EventBuilder Members | System.Reflection.Emit Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft