Default constructor.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public SDP_MediaDescription( string mediaType, int port, int ports, string protocol, string[] mediaFormats )
Public Sub New ( mediaType As String, port As Integer, ports As Integer, protocol As String, mediaFormats As String() )
public: SDP_MediaDescription( String^ mediaType, int port, int ports, String^ protocol, array<String^>^ mediaFormats )
new : mediaType : string * port : int * ports : int * protocol : string * mediaFormats : string[] -> SDP_MediaDescription
![](../icons/collapse_all.gif)
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised when mediaType or protocol is null reference. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119