ConferenceSession.TryGetMcuSession<T> Method
Attempts to retrieve an McuSession of type T.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function TryGetMcuSession(Of T As McuSession) ( _
<OutAttribute> ByRef existingMcuSession As T _
) As Boolean
'Usage
Dim instance As ConferenceSession
Dim existingMcuSession As T
Dim returnValue As Boolean
returnValue = instance.TryGetMcuSession(existingMcuSession)
public bool TryGetMcuSession<T>(
out T existingMcuSession
)
where T : McuSession
Type Parameters
- T
Type of the McuSession required.
Parameters
- existingMcuSession
Type: T
Retrieved MCU session.
Return Value
Type: System.Boolean
True if the MCU session exists.
Remarks
An McuSession instance is instantiated for all available McuSession factories. If the joined conference does not support a specific MCU type, the corresponding MCU session state is set to Terminated.