Partilhar via


OfferAnswerContext Constructor

Creates a new instance of the OfferAnswerContext class.

Namespace:  Microsoft.Rtc.Collaboration.ComponentModel
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    signalingContext As CallDialogContext, _
    token As MediaRelayToken, _
    reason As SdpOfferAnswerReason _
)
'Usage
Dim signalingContext As CallDialogContext
Dim token As MediaRelayToken
Dim reason As SdpOfferAnswerReason

Dim instance As New OfferAnswerContext(signalingContext, _
    token, reason)
public OfferAnswerContext(
    CallDialogContext signalingContext,
    MediaRelayToken token,
    SdpOfferAnswerReason reason
)

Parameters

  • token
    Type: MediaRelayToken
    The media relay token to be used by the MediaProviders.

Remarks

The OfferAnswerContext class provides a way to pass information back and forth between a Call and the MediaProviders.

See Also

Reference

OfferAnswerContext Class

OfferAnswerContext Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace