ComAwareEventInfo Constructor

Initializes a new instance of the ComAwareEventInfo class by using the specified type and a name of the event on the type.

Namespace:  System.Runtime.InteropServices
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  System.Core (in System.Core.dll)

public ComAwareEventInfo(
	Type type,
	string eventName


Type: System.Type

The type of object.

Type: System.String

The name of an event on type.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft