Updates the MediaFlow's state.

Namespace:  Microsoft.Rtc.Collaboration.ComponentModel
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Protected 
Function 
TryUpdateFlowState ( _
	
state 
As 

MediaFlowState, _
		<
OutAttribute> 
ByRef 
previousState 
As 

MediaFlowState _
) 
As 
Boolean
C#
protected 
bool 
TryUpdateFlowState(
	

MediaFlowState 
state,
	
out 

MediaFlowState 
previousState
)
Visual C++
protected:
bool 
TryUpdateFlowState(
	

MediaFlowState 
state, 
		[
OutAttribute] 

MediaFlowState% 
previousState
)
JavaScript
function 
tryUpdateFlowState(
state, 
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

Returns true, if state is updated on this method call.

See Also