Applications can create a conversation by specifying an endpoint or by specifying an endpoint and settings for the conversation.

Copy Code
//Initialize and register the endpoint, using the credentials of
the user the application will be acting as.
UserEndpointSettings userEndpointSettings = new
UserEndpointSettings(_userURI, _userServer);
userEndpointSettings.Credential = _credential;
_userEndpoint = new UserEndpoint(_collabPlatform,
userEndpointSettings);
_userEndpoint.BeginEstablish(EndEndpointEstablish, _userEndpoint);

//Set up the conversation.
ConversationSettings convSettings = new ConversationSettings();
convSettings.Priority = _conversationPriority.Normal;
convSettings.Subject = "Your trip plan";

//Conversation represents a collection of modalities in the context
of a dialog with one or multiple callees.
Conversation conversation = new Conversation(_userEndpoint,
convSettings);