Share via


Modality members

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

The Modality type exposes the following members.

Constructors

  Name Description
Protected method Modality

Top

Properties

  Name Description
Protected property AdviseMap (Inherited from ComObject.)
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 ScriptObject (Inherited from ScriptWrapper.)
Public property State Gets the modality state.

Top

Methods

  Name Description
Public method Accept Accept an offer for the modality.
Protected method AttachEvent(Guid) (Inherited from ComObject.)
Protected method AttachEvent(Object, Guid) (Inherited from ComObject.)
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 CreateArray (Inherited from ComObject.)
Public method CreateArrayFromEnum (Inherited from ComObject.)
Protected method CreateEventDispatcher (Inherited from ComObject.)
Public method CreateObjectParameter (Inherited from UCWBase.)
Public method CreateParameters (Inherited from ComObject.)
Protected method DetachEvent (Inherited from ComObject.)
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.
Protected method EnsureEventAdd(IEnumerable<MulticastDelegate>, Guid) (Inherited from ComObject.)
Protected method EnsureEventAdd(MulticastDelegate, Guid) (Inherited from ComObject.)
Protected method EnsureEventAdd(IEnumerable<MulticastDelegate>, Object, Guid) (Inherited from ComObject.)
Protected method EnsureEventRemove(IEnumerable<MulticastDelegate>, Guid) (Inherited from ComObject.)
Protected method EnsureEventRemove(MulticastDelegate, Guid) (Inherited from ComObject.)
Public method Equals(Object) (Inherited from ComObject.)
Public method Equals(ScriptObject) (Inherited from ScriptWrapper.)
Public method Equals(ScriptWrapper) (Inherited from ScriptWrapper.)
Protected method Finalize (Inherited from UCWBase.)
Public method GetEnumerator (Inherited from ComObject.)
Public method GetHashCode (Inherited from ComObject.)
Public method GetInteropEnumerator (Inherited from ComObject.)
Protected method GetProperty (Inherited from ScriptWrapper.)
Protected method GetPropertyBoolean (Inherited from ScriptWrapper.)
Public method GetPropertyEx (Inherited from ComObject.)
Protected method GetPropertyInt32 (Inherited from ScriptWrapper.)
Protected method GetPropertyScript (Inherited from ScriptWrapper.)
Protected method GetPropertyString (Inherited from ScriptWrapper.)
Public method GetScriptEnumerator (Inherited from ComObject.)
Public method GetType (Inherited from Object.)
Protected method Invoke (Inherited from ScriptWrapper.)
Public method InvokeEx (Inherited from ComObject.)
Protected method InvokeMethod (Inherited from ScriptWrapper.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PersistAddRef (Inherited from UCWBase.)
Public method PersistRemoveRef (Inherited from UCWBase.)
Public method Reject Reject an offer for the modality.
Public method SetPersistence (Inherited from UCWBase.)
Protected method SetProperty (Inherited from ScriptWrapper.)
Public method SetPropertyEx (Inherited from ComObject.)
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