ConversationContextChannel Constructor
Create a ConversationContextChannel.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
conversation As Conversation, _
remoteEndpoint As ParticipantEndpoint _
)
'Usage
Dim conversation As Conversation
Dim remoteEndpoint As ParticipantEndpoint
Dim instance As New ConversationContextChannel(conversation, _
remoteEndpoint)
public ConversationContextChannel(
Conversation conversation,
ParticipantEndpoint remoteEndpoint
)
Parameters
- conversation
Type: Microsoft.Rtc.Collaboration.Conversation
The conversation with which the channel is associated.
- remoteEndpoint
Type: Microsoft.Rtc.Collaboration.ParticipantEndpoint
The remote endpoint with which the channel communicates.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the given conversation parameter is null |
ArgumentNullException | Thrown when the given remoteEndpoint parameter is null |
InvalidOperationException | Thrown when the conversation is already terminating or terminated. |
See Also
Reference
ConversationContextChannel Class