TryCancelRenegotiateDescription Method (IEnumerable(SignalingHeader))
Attempts to cancel a pending renegotiation.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function TryCancelRenegotiateDescription ( _
signalingHeaders As IEnumerable(Of SignalingHeader) _
) As Boolean
'Usage
Dim instance As SignalingSession
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim returnValue As Boolean
returnValue = instance.TryCancelRenegotiateDescription(signalingHeaders)
public bool TryCancelRenegotiateDescription(
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- signalingHeaders
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'SignalingHeader>)>)>
The signaling headers to use in the Cancel sip message.
Return Value
Type: System..::..Boolean
Returns true if cancel is either sent or setup to be sent; otherwise false.
Remarks
This method does not guarantee that renegotiation will not receive a final response since there is possibility that a final response is one the way before cancel message can reach the remote.