Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Browser.CallProxy.BeginAccept Method
Accepts an incoming call.
Namespace: Microsoft.Speech.VoiceXml
Assembly: Microsoft.Speech.VoiceXml (in Microsoft.Speech.VoiceXml.dll)
Syntax
'Declaration
Protected MustOverride Function BeginAccept ( _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = Me.BeginAccept(userCallback, _
state)
protected abstract IAsyncResult BeginAccept(
AsyncCallback userCallback,
Object state
)
Parameters
- userCallback
Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
Type: System.IAsyncResult
Remarks
The state of the call can change if the remote party decides to cancel the call.