ComEventInterfaceAttribute(Type, Type) Oluşturucu

Tanım

Kaynak arabirim ve olay sağlayıcısı sınıfı ile sınıfının yeni bir örneğini ComEventInterfaceAttribute başlatır.

public:
 ComEventInterfaceAttribute(Type ^ SourceInterface, Type ^ EventProvider);
public ComEventInterfaceAttribute (Type SourceInterface, Type EventProvider);
new System.Runtime.InteropServices.ComEventInterfaceAttribute : Type * Type -> System.Runtime.InteropServices.ComEventInterfaceAttribute
Public Sub New (SourceInterface As Type, EventProvider As Type)

Parametreler

SourceInterface
Type

Type Tür kitaplığından özgün kaynak arabirimini içeren bir. COM, yönetilen sınıfa geri çağırmak için bu arabirimi kullanır.

EventProvider
Type

Type Olay arabiriminin yöntemlerini uygulayan sınıfını içeren.

Şunlara uygulanır