Class DataChannelNotOpenException
Exception thrown when trying to use a data channel that is not open.
The user should listen to the StateChanged event until the State property is Open before trying to send some message with SendMessage(Byte[]).
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public class DataChannelNotOpenException : Exception
Constructors
| Improve this Doc View SourceDataChannelNotOpenException()
Declaration
public DataChannelNotOpenException()
DataChannelNotOpenException(String)
Declaration
public DataChannelNotOpenException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message |
DataChannelNotOpenException(String, Exception)
Declaration
public DataChannelNotOpenException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Exception | inner |