Share via


Modality members

Modality is the base class for any modality, including InstantMessageModality and AVModality.

The Modality type exposes the following members.

Properties

  Name Description
Public property Conversation Gets the associated conversation object.
Public property Endpoint Gets the collaboration endpoint that is used by the modality.
Public property Participant Gets the associated participant object.
Public property Properties Gets a collection of modality properties.
Public property State Gets the modality state.

Top

Methods

  Name Description
Public method Accept Accept an offer for the modality.
Public method BeginConnect Activates a conversation modality by connecting the modality to its associated local and remote endpoints.
Public method BeginConsultativeTransfer Transfers a connected modality to an existing conversation.
Public method BeginDisconnect Disconnects from the 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.
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.
Public method BeginHold Places the modality on hold.
Public method BeginRetrieve Retrives a held modality.
Public method BeginSetProperty Sets a property associated with this modality.
Public method BeginTransfer(Contact, TransferOptions, AsyncCallback, Object) Transfers an active conversation to a specified remote contact.
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.
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 modality.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method EndConnect Connects to the modality.
Public method EndConsultativeTransfer Transfers a connected modality to an existing conversation.
Public method EndDisconnect Disconnects from the modality.
Public method EndForward Forwards a connecting incoming modality to a different location.
Public method EndHold Places the modality on hold.
Public method EndRetrieve Retrives a held modality.
Public method EndSetProperty Sets a property associated with this modality.
Public method EndTransfer Transfers a connected modality to a different location.
Public method Equals (Inherited from Object.)
Protected method Finalize (Overrides UCWFullFinalize().)
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.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event ActionAvailabilityChanged Raised when an action availability changes.
Public event ModalityStateChanged Raised when modality state changes

Top

See also

Reference

Modality class

Microsoft.Lync.Model.Conversation namespace