Subscribes to an event.
| Exception | Condition |
|---|---|
| ArgumentNullException | If name or handler
are null. |
| EventSubscriptionFailedException | Thrown if subscribing to the event failed. |
![]() | Ranorex Documentation SubscribeEvent Method (name, handler) Namespaces ► Ranorex.Core ► Element ► SubscribeEvent(String, Delegate) |
| Exception | Condition |
|---|---|
| ArgumentNullException | If name or handler
are null. |
| EventSubscriptionFailedException | Thrown if subscribing to the event failed. |