ConversationSettings Class

Represents settings that can be applied when creating a conversation.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.ConversationSettings

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Class ConversationSettings
'Usage
Dim instance As ConversationSettings
public class ConversationSettings

Remarks

An application can specify settings such as identifier, subject and priority to use in the conversation.

Examples

The following example shows how to resume a previous conversation and preserve the previous conversation subject and Id.

C# Resuming previous conversation

 
ConversationSettings settings = new ConversationSettings();
settings.Subject = _previousSubject;
settings.Id = _previousConversationId;
settings.Priority = ConversationPriority.Normal;

_conversation1 = new Conversation(_endpoint1, settings);
            #endregion SpecifyConversationSettings

            #region CreateIMCall
_imCall1 = new InstantMessagingCall(_conversation1);

_imCall1 = new InstantMessagingCall(_conversation1);

_imCall1.BeginEstablish(
     _endpoint2.OwnerUri, 
     null /*options*/,
     this.EstablishCompleted,
     _imCall1 /*state*/);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ConversationSettings Members

Microsoft.Rtc.Collaboration Namespace