Conversation members

Describes a conversation. It includes details such as the conversation participants, modalities (InstantMessaging, AudioVideo), state, etc., and implements actions such as merge, park, terminate or other conversation actions.

The Conversation type exposes the following members.

Properties

  Name Description
Public property ConversationManager Gets the parent conversation manager of this conversation.
Public property Modalities Gets the collection of conversation modalities (activities
Public property Participants Gets the participant collection.
Public property Properties Gets a collection of conversation properties.
Public property SelfParticipant Gets the local participant object.
Public property State Gets the current conversation state.

Top

Methods

  Name Description
Public method AddParticipant(Contact) AddParticipant(Microsoft.Lync.Model.Contact)
Public method AddParticipant(ContactEndpoint) Add a new participant instance.
Public method BeginAdmitParticipants Used to admit a set of participants into conference.
Public method BeginDenyParticipants Used to Deny a set of participants access into a conference.
Public method BeginMerge Merges another conversation into this one. modalityTypes specifies what modalities to be merged in.
Public method BeginMuteParticipants Not implemented.
Public method BeginPark Parks voice at the Call Park Server and terminates all other modalities.
Public method BeginSendContextData This is used to send application context type and data to the conversation. The application Id has to be registered on the caller side. The context data will be sent in raw format.
Public method BeginSendInitialContext This is used to send application context to the conversation. ContextTypes and context data values are mapped together, So they must have the same length. If the contextTypes include application GUID, the caller must have been registered using the same GUID.
Public method BeginSetProperty Sets a property associated with this conversation. This is an asynchronous operation, hence the conversationCallback, if specified, will be called back.
Public method BeginUnmuteParticipants Not implemented.
Public method CanInvoke Returns a flag indicating whether a specific action is available.
Public method CanSetProperty Test whether the property can be set to the conversation.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method End Terminates the conversation for all participants.
Public method EndAdmitParticipants Blocks calling thread until the admit participant operation is completed.
Public method EndDenyParticipants Blocks calling thread until the deny participant operation completes.
Public method EndMerge Blocks calling thread until the conversation merge operation completes.
Public method EndMuteParticipants Not implemented.
Public method EndPark Blocks the calling thread until the call park operation completes.
Public method EndSendContextData Blocks the calling thread until the begin send context data operation completes.
Public method EndSendInitialContext Blocks the calling thread until the send initial context operation completes.
Public method EndSetProperty Blocks calling thread until set property operation is completed.
Public method EndUnmuteParticipants Blocks calling thread until participant unmute operation completes.
Public method Equals (Inherited from Object.)
Protected method Finalize (Overrides UCWFullFinalize().)
Public method GetApplicationData Gets the contextual conversation application data using the given GUID. Only the registered application with the same GUID may call this.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method RemoveParticipant Removes a participant from the collection.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event ActionAvailabilityChanged Raised when an action availability changes.
Public event ContextDataReceived Raised to notify of the 3rd party applications of incoming info.
Public event ContextDataSent Raised to notify of the 3rd party applications of outgoing info.
Public event ConversationContextLinkClicked Raised when a contextual conversation launch link is clicked by the user.
Public event InitialContextReceived Raised to notify of the 3rd party applications of incoming calls .
Public event InitialContextSent Raised to notify of the 3rd party applications of outgoing calls .
Public event ParticipantAdded Raised when a participant add operation completes.
Public event ParticipantRemoved Raised when a participant remove operation completes.
Public event PropertyChanged Raised when a property value changes
Public event StateChanged Raised when the conversation state changes.

Top

See also

Reference

Conversation class

Microsoft.Lync.Model.Conversation namespace