Click or drag to resize

Message Constructor (String, IExtensionBase, String, String, String, String, Int32, ListIMessageHeader)

Initializes a new instance of the Message class.

Namespace:  Ozeki.VoIP
Assembly:  OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntax
public Message(
	string id,
	IExtensionBase source,
	string sender,
	string recipient,
	string content,
	string contentType,
	int hopCount = 10,
	List<IMessageHeader> headers = null
)

Parameters

id
Type: SystemString
The unique identifier of the message.
source
Type: Ozeki.VoIPIExtensionBase
The extension who sent the message.
sender
Type: SystemString
The sender who sent the message.
recipient
Type: SystemString
The recepient of the message set by the sender.
content
Type: SystemString
Content of the message.
contentType
Type: SystemString
Content type of the message.
hopCount (Optional)
Type: SystemInt32
A time-to-live value is decremented when message is precessed.
headers (Optional)
Type: System.Collections.GenericListIMessageHeader
Extra headers.
See Also