Reference Library
PressButton Method (buttonNumber, userState)
NamespacesAvaya.ApplicationEnablement.DMCCPhonePressButton(Phone..::.ButtonIDConstants, Object)
Send a Press Button XML message to the server.
Declaration Syntax
C#Visual BasicVisual C++
public int PressButton(
	Phone..::.ButtonIDConstants buttonNumber,
	Object userState
)
Public Function PressButton ( _
	buttonNumber As Phone..::.ButtonIDConstants, _
	userState As Object _
) As Integer
public:
virtual int PressButton(
	Phone..::.ButtonIDConstants buttonNumber, 
	Object^ userState
) sealed
Parameters
buttonNumber (Phone..::.ButtonIDConstants)
The button number.
userState (Object)
Any object the application would like returned with the response.
Return Value
The Invoke ID of the XML message sent to the server.

Assembly: ServiceProvider (Module: ServiceProvider)