IEndpoint.CreateConversation Method
Creates a new conversation with the specified contacts and with the specified first message type and content.
Namespace: Microsoft.Exchange.InstantMessaging
Assembly: Microsoft.Exchange.InstantMessaging (in Microsoft.Exchange.InstantMessaging.dll)
Syntax
'Declaration
Function CreateConversation ( _
uris As String(), _
subject As String, _
firstMessageType As ContentType, _
firstMessageContent As String _
) As IConversation
'Usage
Dim instance As IEndpoint
Dim uris As String()
Dim subject As String
Dim firstMessageType As ContentType
Dim firstMessageContent As String
Dim returnValue As IConversation
returnValue = instance.CreateConversation(uris, _
subject, firstMessageType, firstMessageContent)
IConversation CreateConversation(
string[] uris,
string subject,
ContentType firstMessageType,
string firstMessageContent
)
Parameters
- uris
Type: []
An array of Session Initiation Protocol (SIP) URIs for the contacts who will be part of the conversation.
- subject
Type: System.String
The subject of the conversation.
- firstMessageType
Type: System.Net.Mime.ContentType
The content type of the first message.
- firstMessageContent
Type: System.String
The contents of the first message in the conversation.
Return Value
Type: Microsoft.Exchange.InstantMessaging.IConversation
An object that implements the IConversation interface that contains information about the new conversation.
See Also