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!

TypeBuilder.GetEvents ()

Returns the events for the public events declared or inherited by this type.

[Visual Basic]
Overloads Overrides Public Function GetEvents() As EventInfo ()
[C#]
public override EventInfo[] GetEvents();
[C++]
public: override EventInfo* GetEvents() [];
[JScript]
public override function GetEvents() : EventInfo[];

Return Value

Returns an array of EventInfo objects representing the public events declared or inherited by this type. An empty array is returned if there are no public events.

Exceptions

Exception Type Condition
NotSupportedException This method is not implemented.

Remarks

This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

See Also

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace | TypeBuilder.GetEvents Overload List