MediaFlow.TryUpdateFlowState Method
Updates the MediaFlow's state.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Function TryUpdateFlowState ( _
state As MediaFlowState, _
<OutAttribute> ByRef previousState As MediaFlowState _
) As Boolean
'Usage
Dim state As MediaFlowState
Dim previousState As MediaFlowState
Dim returnValue As Boolean
returnValue = Me.TryUpdateFlowState(state, _
previousState)
protected bool TryUpdateFlowState(
MediaFlowState state,
out MediaFlowState previousState
)
Parameters
- state
Type: Microsoft.Rtc.Collaboration.MediaFlowState
New state of the flow.
- previousState
Type: Microsoft.Rtc.Collaboration.MediaFlowState
Previous state of the flow, before the update.
Return Value
Type: System.Boolean
Returns true, if state is updated on this method call.