InvitationAcceptedEventArgs.SendAcknowledgement Method
Sends an acknowledgement for the remote that just accepted the invitation. The acknowledgement should be sent as soon as possible to avoid the remote from timing out the invitation. This method does not wait for the acknowledgement to be actually sent on the wire. The application should use the invite operation for this purpose.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub SendAcknowledgement ( _
signalingHeadersToAdd As IEnumerable(Of SignalingHeader) _
)
'Usage
Dim instance As InvitationAcceptedEventArgs
Dim signalingHeadersToAdd As IEnumerable(Of SignalingHeader)
instance.SendAcknowledgement(signalingHeadersToAdd)
public void SendAcknowledgement(
IEnumerable<SignalingHeader> signalingHeadersToAdd
)
Parameters
- signalingHeadersToAdd
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
The signaling headers to add. Can be null.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the operation already timedout or ack already sent or when original offer was null. |
See Also
Reference
InvitationAcceptedEventArgs Class