EventHandlerGeneratedEventArgs, constructeur
Initialise une nouvelle instance de la classe EventHandlerGeneratedEventArgs.
Espace de noms : Microsoft.Windows.Design.Services
Assembly : Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- modelEvent
Type : Microsoft.Windows.Design.Model.ModelEvent
Le ModelEvent qui a reçu un nouveau gestionnaire d'événements.
- methodName
Type : System.String
Gestionnaire d'événements associé à modelEvent.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.