CallProvider Constructor
Creates a new instance given the specified call and culture.
Namespace: Microsoft.Rtc.Workflow.Common
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Sub New ( _
call As Call, _
cultureInfo As CultureInfo _
)
'Usage
Dim call As Call
Dim cultureInfo As CultureInfo
Dim instance As New CallProvider(call, cultureInfo)
public CallProvider(
Call call,
CultureInfo cultureInfo
)
Parameters
- call
Type: Microsoft.Rtc.Collaboration.Call
AudioVideoCall or InstantMessagingCall.
- cultureInfo
Type: System.Globalization.CultureInfo
The culture to be used during the workflow
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the argument is null. |
InvalidOperationException | Thrown if the call is not InstantMessagingCall nor AudioVideoCall. |
InvalidOperationException | Thrown if the flow is not available. |