EventHandlerGeneratedEventArgs Constructor
Initializes a new instance of the EventHandlerGeneratedEventArgs class.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
modelEvent As ModelEvent, _
methodName As String _
)
public EventHandlerGeneratedEventArgs(
ModelEvent modelEvent,
string methodName
)
public:
EventHandlerGeneratedEventArgs(
ModelEvent^ modelEvent,
String^ methodName
)
new :
modelEvent:ModelEvent *
methodName:string -> EventHandlerGeneratedEventArgs
public function EventHandlerGeneratedEventArgs(
modelEvent : ModelEvent,
methodName : String
)
Parameters
- modelEvent
Type: Microsoft.Windows.Design.Model.ModelEvent
The ModelEvent that received a new event handler.
- methodName
Type: System.String
The event handler associated with modelEvent.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.