TypeBuilder.DefineEventCore(String, EventAttributes, Type) 메서드

정의

파생 클래스에서 재정의되는 경우 지정된 이름, 특성 및 이벤트 형식을 사용하여 형식에 새 이벤트를 추가합니다.

protected:
 abstract System::Reflection::Emit::EventBuilder ^ DefineEventCore(System::String ^ name, System::Reflection::EventAttributes attributes, Type ^ eventtype);
protected abstract System.Reflection.Emit.EventBuilder DefineEventCore (string name, System.Reflection.EventAttributes attributes, Type eventtype);
abstract member DefineEventCore : string * System.Reflection.EventAttributes * Type -> System.Reflection.Emit.EventBuilder
Protected MustOverride Function DefineEventCore (name As String, attributes As EventAttributes, eventtype As Type) As EventBuilder

매개 변수

name
String

이벤트의 이름입니다. name에는 내장된 null이 포함될 수 없습니다.

attributes
EventAttributes

이벤트의 특성을 지정하는 열거형 값의 비트 조합입니다.

eventtype
Type

이벤트 유형

반환

정의된 이벤트입니다.

적용 대상