Initializes a new instance of the class to be used for a normal state changed event. The caller should provide both old and new states to indicate the transition.

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

Syntax

Visual Basic (Declaration)
<
ObsoleteAttribute("This constructor is
obsolete")> _
Public 
Sub 
New ( _
	
methodResult 
As 
Boolean, _
	
previousState 
As T, _
	
state 
As T _
)
C#
[
ObsoleteAttribute("This constructor is
obsolete")]
public 
StateChangedEventArgs(
	
bool 
methodResult,
		T 
previousState,
		T 
state
)
Visual C++
[
ObsoleteAttribute(L"This constructor is
obsolete")]
public:
StateChangedEventArgs(
	
bool 
methodResult, 
		T 
previousState, 
		T 
state
)
JavaScript

Microsoft.Rtc.Signaling.StateChangedEventArgs = 
function(
methodResult, 
previousState, 
state);

Parameters

methodResult
Type: Boolean
True if the results of the state change are also reported as the result of a method call; otherwise false.
previousState
Type: T
The original state.
state
Type: T
The new state.

See Also