InstantMessageModality members

Defines the instant messaging modality. It supports actions such as sending an instant message, checking or setting the composing (typing) flag, etc. This class exposes events such as messages being sent or received.

The InstantMessageModality type exposes the following members.

Properties

  Name Description
Public property Capabilities Gets instant messaging Capabilities.
Public property Conversation Gets the associated conversation object. (Inherited from Modality.)
Public property Endpoint Gets the collaboration endpoint that is used by the modality. (Inherited from Modality.)
Public property IsTyping Gets a flag indicating whether the endpoint is composing a message.
Public property Participant Gets the associated participant object. (Inherited from Modality.)
Public property Properties Gets a collection of modality properties. (Inherited from Modality.)
Public property State Gets the modality state. (Inherited from Modality.)

Top

Methods

  Name Description
Public method Accept Accept an offer for the modality. (Inherited from Modality.)
Public method BeginConnect Activates a conversation modality by connecting the modality to its associated local and remote endpoints. (Inherited from Modality.)
Public method BeginConsultativeTransfer Transfers a connected modality to an existing conversation. (Inherited from Modality.)
Public method BeginDisconnect Disconnects from the modality. (Inherited from Modality.)
Public method BeginForward(Contact, AsyncCallback, Object) Forwards an active conversation (in ringing state) to a specified remote contact endpoint. You cannot forward conversations between the local contacts endpoints. (Inherited from Modality.)
Public method BeginForward(ContactEndpoint, AsyncCallback, Object) Forwards an active conversation to a specified remote contact endpoint. You cannot forward conversations between the local contacts endpoints. (Inherited from Modality.)
Public method BeginHold Places the modality on hold. (Inherited from Modality.)
Public method BeginRetrieve Retrives a held modality. (Inherited from Modality.)
Public method BeginSendMessage(String, AsyncCallback, Object) Sends a plain text message to a remote conversation participant.
Public method BeginSendMessage(IDictionary<InstantMessageContentType, String>, AsyncCallback, Object) Sends a text message formatted for specified content type to a remote conversation participant.
Public method BeginSetComposing Sets the local composing state. The composing flag indicates that the local participant is typing a message.
Public method BeginSetProperty Sets a property associated with this modality. (Inherited from Modality.)
Public method BeginTransfer(Contact, TransferOptions, AsyncCallback, Object) Transfers an active conversation to a specified remote contact. (Inherited from Modality.)
Public method BeginTransfer(ContactEndpoint, TransferOptions, AsyncCallback, Object) Transfer an active conversation to a specified remote contact endpoint. You cannot transfer a conversation to another local contact endpoint. (Inherited from Modality.)
Public method CanInvoke Returns a flag indicating whether a specific action is available. (Inherited from Modality.)
Public method CanSetProperty Test whether the property can be set to the modality. (Inherited from Modality.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method EndConnect Connects to the modality. (Inherited from Modality.)
Public method EndConsultativeTransfer Transfers a connected modality to an existing conversation. (Inherited from Modality.)
Public method EndDisconnect Disconnects from the modality. (Inherited from Modality.)
Public method EndForward Forwards a connecting incoming modality to a different location. (Inherited from Modality.)
Public method EndHold Places the modality on hold. (Inherited from Modality.)
Public method EndRetrieve Retrives a held modality. (Inherited from Modality.)
Public method EndSendMessage Ends send message operation and un-blocks program execution on calling thread.
Public method EndSetComposing Sets the local composing state. The composing flag indicates that the local participant is typing a message.
Public method EndSetProperty Sets a property associated with this modality. (Inherited from Modality.)
Public method EndTransfer Transfers a connected modality to a different location. (Inherited from Modality.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Overrides Modality.Finalize().)
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 Reject Reject an offer for the modality. (Inherited from Modality.)
Public method SetCapabilities Sets self instant messaging Capabilities.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event ActionAvailabilityChanged Raised when an action availability changes. (Inherited from Modality.)
Public event InstantMessagePropertyChanged Raised when a property value changes
Public event InstantMessageReceived Raised when an instant message is received.
Public event IsTypingChanged Raised when the istyping state changes.
Public event ModalityStateChanged Raised when modality state changes (Inherited from Modality.)

Top

See also

Reference

InstantMessageModality class

Microsoft.Lync.Model.Conversation namespace