RanorexRanorex Documentation
UnsubscribeEvent Method (name, handler)
NamespacesRanorex.CoreElementUnsubscribeEvent(String, Delegate)
Unsubscribes from an event.
Declaration Syntax
C#Visual BasicVisual C++
public void UnsubscribeEvent(
	string name,
	Delegate handler
)
Public Sub UnsubscribeEvent ( _
	name As String, _
	handler As Delegate _
)
public:
void UnsubscribeEvent(
	String^ name, 
	Delegate^ handler
)
Parameters
name (String)
The name of the event to unsubscribe from.
handler (Delegate)
The event callback.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name or handler are null.
EventSubscriptionFailedExceptionThrown if unsubscribing from the event failed.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)