ComAwareEventInfo Constructor (Type, String)

.NET Framework (current version)

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
Assembly:  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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top