EventBuilder.AddOtherMethodCore(MethodBuilder) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

When overridden in a derived class, adds one of the "other" methods associated with this event.

C#
protected abstract void AddOtherMethodCore(System.Reflection.Emit.MethodBuilder mdBuilder);

Parameters

mdBuilder
MethodBuilder

A MethodBuilder object that represents the other method.

Remarks

"Other" methods are methods other than the "on" and "raise" methods associated with an event. This function can be called multiple times to add additional "other" methods.

Applies to

Product Versions
.NET 8, 9, 10