Enables participant endpoints communicating
with the Audio-Video MCU to receive audio announcements in the
conference.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
BeginEnableAnnouncements ( _
subscribingParticipantEndpoints
As
IEnumerable(
Of
ParticipantEndpoint), _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
C# |
public
IAsyncResult
BeginEnableAnnouncements(
IEnumerable<
ParticipantEndpoint>
subscribingParticipantEndpoints,
AsyncCallback
userCallback,
Object
state
)
|
Visual C++ |
public:
IAsyncResult^
BeginEnableAnnouncements(
IEnumerable<
ParticipantEndpoint^>^
subscribingParticipantEndpoints,
AsyncCallback^
userCallback,
Object^
state
)
|
JavaScript |
function
beginEnableAnnouncements(
subscribingParticipantEndpoints,
userCallback,
state);
|
Parameters
-
subscribingParticipantEndpoints
- Type:
IEnumerable
<
(Of
<
(
ParticipantEndpoint
>
)
>
)
The list of participant endpoints to receive broadcast
announcements.
-
userCallback
- Type:
AsyncCallback
The method to be called when the asynchronous operation is
completed.
-
state
- Type:
Object
A user-provided object that distinguishes this particular
asynchronous operation from other asynchronous operations.
Return Value
An IAsyncResult that
references the asynchronous operation.
Remarks
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the parent ConferenceSession is not in a valid
state or the conference does not support the corresponding MCU
type. Also thrown if none of the supplied participant endpoints are
currently present in the MCU. |
ArgumentNullException
|
Thrown when the supplied subscribingParticipantEndpoints is
null. |
ArgumentException
|
Thrown when one of collection members in
subscribingParticipantEndpoints is null. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeInvalidOperationException
|
Thrown when the parent ConferenceSession is reconnecting
(FailureReason will be set to
InvalidOperationReason.RetryableOperation). |
See Also