Reference Library
SetHookswitchStatus Method (OnHook, userState)
NamespacesAvaya.ApplicationEnablement.DMCCIPhoneSetHookswitchStatus(Boolean, Object)
Send a SetHookswitchStatus XML message to the server.
Declaration Syntax
C#Visual BasicVisual C++
int SetHookswitchStatus(
	bool OnHook,
	Object userState
)
Function SetHookswitchStatus ( _
	OnHook As Boolean, _
	userState As Object _
) As Integer
int SetHookswitchStatus(
	bool OnHook, 
	Object^ userState
)
Parameters
OnHook (Boolean)
Set to true if you want to set the state to On Hook
userState (Object)
Any object that the application wants returned when the SetHookswitchResponse event is sent back.
Return Value
The Invoke Id (message number) of the XML message sent to the server.

Assembly: ServiceProvider (Module: ServiceProvider)