|
ChannelResourceDisconnect Method |
This method forces the
Channel Resource to disconnect any current connections or calls. You may also think of this as "hanging up."
Namespace:
VoiceElements.Client
Assembly:
VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax public:
void Disconnect()
member Disconnect : unit -> unit
Remarks Communicating the Disconnect Cause to a Carrier
Optionally, you may specify a numeric cause for your disconnection to the carrier of the call. To do this, use the
Disconnect with Cause Code overload.
Examples
The example below shows the simple one line to disconnect a call.
public void HangupMyCall()
{
m_ChannelResource.Disconnect();
}
Public Sub HangupMyCall()
m_ChannelResource.Disconnect();
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also