Edit

Share via


ConferenceSession.TryGetMcuSession<T>(T) Method

Definition

Attempts to retrieve an McuSession of type T.

public:
generic <typename T>
 where T : Microsoft::Rtc::Collaboration::McuSession bool TryGetMcuSession([Runtime::InteropServices::Out] T % existingMcuSession);
public bool TryGetMcuSession<T> (out T existingMcuSession) where T : Microsoft.Rtc.Collaboration.McuSession;
member this.TryGetMcuSession :  -> bool (requires 'T :> Microsoft.Rtc.Collaboration.McuSession)
Public Function TryGetMcuSession(Of T As McuSession) (ByRef existingMcuSession As T) As Boolean

Type Parameters

T

Type of the McuSession required.

Parameters

existingMcuSession
T

Retrieved MCU session.

Returns

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.

Applies to