ModalityDisconnectReason enumeration

Enumerates the modality disconnect reasons.

Namespace:  Microsoft.Lync.Model.Conversation
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Enumeration ModalityDisconnectReason
'Usage
Dim instance As ModalityDisconnectReason
public enum ModalityDisconnectReason

Members

Member name Description
None Disconnect to leave currently connected modality.
Timeout Disconnect with timeout for incoming p2p.
Busy Disconnect with busy for incoming p2p.
NotAcceptableHere Disconnect with not acceptable here.
Decline Disconnect to decline incoming p2p allowing redirection to voicemail.
DeclineEverywhere Disconnect to decline incoming p2p everywhere.
ReplyOther Disconnect to decline incoming P2P and reply with different modality.

If this disconnect reason is selected for an incoming AVModality call then the parent Conversation is disconnected and removed. The ConversationManager.ConversationRemoved event is raised.

Invalid

See also

Reference

Microsoft.Lync.Model.Conversation namespace