Initializes a new instance of the Message class

C# | Visual Basic | Visual C++ |
public Message( string id, IExtension source, string sender, string recipient, string content, string contentType, int hopCount = 10, List<IMessageHeader> headers = null )
Public Sub New ( id As String, source As IExtension, sender As String, recipient As String, content As String, contentType As String, Optional hopCount As Integer = 10, Optional headers As List(Of IMessageHeader) = Nothing )
public: Message( String^ id, IExtension^ source, String^ sender, String^ recipient, String^ content, String^ contentType, int hopCount = 10, List<IMessageHeader^>^ headers = nullptr )

- id (String)
- source (IExtension)
- sender (String)
- recipient (String)
- content (String)
- contentType (String)
- hopCount (Int32) (Optional)
- headers (List<(Of <(<'IMessageHeader>)>)>) (Optional)
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 10.1.12.649