Saves a message to the SnMessage table before it can be sent to other recipients

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
SnMessageEntity SaveMessage(
	Guid userId,
	Guid messageId,
	string subject,
	string body,
	Guid inReplyToMessageId,
	string toList
)
Visual Basic
Function SaveMessage ( 
	userId As Guid,
	messageId As Guid,
	subject As String,
	body As String,
	inReplyToMessageId As Guid,
	toList As String
) As SnMessageEntity
Visual C++
SnMessageEntity^ SaveMessage(
	Guid userId, 
	Guid messageId, 
	String^ subject, 
	String^ body, 
	Guid inReplyToMessageId, 
	String^ toList
)
F#
abstract SaveMessage : 
        userId : Guid * 
        messageId : Guid * 
        subject : string * 
        body : string * 
        inReplyToMessageId : Guid * 
        toList : string -> SnMessageEntity 

Parameters

userId
Type: System..::..Guid
User id
messageId
Type: System..::..Guid
Message id, if present
subject
Type: System..::..String
Message subject
body
Type: System..::..String
Message body
inReplyToMessageId
Type: System..::..Guid
Id of the message that started the thread
toList
Type: System..::..String
Comma-separated list of recipients

Return Value

Type: SnMessageEntity
Message entity

See Also