ConversationSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents settings that can be applied when creating a conversation.
public ref class ConversationSettings
public class ConversationSettings
type ConversationSettings = class
Public Class ConversationSettings
- Inheritance
-
ConversationSettings
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*/);
Remarks
An application can specify settings such as identifier, subject and priority to use in the conversation.
Constructors
ConversationSettings() |
Initializes a new instance of the ConversationSettings class. |
ConversationSettings(String, String, String) |
Initializes a new instance of the ConversationSettings class with a given subject, priority and ID. |
Properties
Id |
Gets or sets the conversation identifier. |
Priority |
Gets or sets the priority of the conversation. |
Subject |
Gets or sets the subject of the conversation. |
Methods
GetDerivedConversationId(String) |
Gets the identifier for a new conversation that is extended from a previous conversation. |