EventBuilder.SetRaiseMethod(MethodBuilder) EventBuilder.SetRaiseMethod(MethodBuilder) EventBuilder.SetRaiseMethod(MethodBuilder) EventBuilder.SetRaiseMethod(MethodBuilder) Method

Definición

Establece el método que se utiliza para generar este evento.Sets the method used to raise this event.

public:
 void SetRaiseMethod(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
public void SetRaiseMethod (System.Reflection.Emit.MethodBuilder mdBuilder);
member this.SetRaiseMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub SetRaiseMethod (mdBuilder As MethodBuilder)

Parámetros

mdBuilder
MethodBuilder MethodBuilder MethodBuilder MethodBuilder

Objeto MethodBuilder que representa al método utilizado para generar este evento.A MethodBuilder object that represents the method used to raise this event.

Excepciones

Se ha llamado a CreateType() en el tipo envolvente.CreateType() has been called on the enclosing type.

Se aplica a