Edit

Share via


ApplicationSharingModality Class

Definition

Represents the application sharing modality of a conversation or participant modality collection.

public ref class ApplicationSharingModality : Microsoft::Lync::Model::Conversation::Modality
public class ApplicationSharingModality : Microsoft.Lync.Model.Conversation.Modality
type ApplicationSharingModality = class
    inherit Modality
Public Class ApplicationSharingModality
Inherits Modality
Inheritance
ApplicationSharingModality

Remarks

Use the ApplicationSharingModality from a participant modality collection when you want to take some controlling action for that participant on the shared resource. For example, if you want to grant control of a shared resource to a participant, you call BeginGrantControl on that participant modality.

Properties

Controller

Gets the conversation participant that is in control of the shared resource.

Conversation

Gets the associated conversation object.

(Inherited from Modality)
Endpoint

Gets the collaboration endpoint that is used by the modality.

(Inherited from Modality)
InnerObject (Inherited from UCWBase)
LocalSharedResources

Get the list of resources currently shared by the local participant.

Participant

Gets the associated participant object.

(Inherited from Modality)
ParticipationState

Get the participation state.

Properties

Gets a collection of modality properties.

(Inherited from Modality)
ShareableResources

Get the list of available resources.

Sharer

Gets the participant who is sharing. It returns null when nobody is sharing.

State

Gets the modality state.

(Inherited from Modality)

Methods

Accept()

Accept an offer for the modality.

(Inherited from Modality)
BeginAcceptControlRequest(AsyncCallback, Object)

Accepts a pending control request.

BeginConnect(AsyncCallback, Object)

Activates a conversation modality by connecting the modality to its associated local and remote endpoints.

(Inherited from Modality)
BeginConsultativeTransfer(Conversation, TransferOptions, AsyncCallback, Object)

Transfers a connected modality to an existing conversation.

(Inherited from Modality)
BeginDeclineControlRequest(AsyncCallback, Object)

Declines a pending control request.

BeginDisconnect(ModalityDisconnectReason, AsyncCallback, Object)

Disconnects from the modality.

(Inherited from Modality)
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)
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)
BeginGrantControl(AsyncCallback, Object)

Grants control of the shared resource.

BeginHold(AsyncCallback, Object)

Places the modality on hold.

(Inherited from Modality)
BeginReleaseControl(AsyncCallback, Object)

Releases control of the shared resource.

BeginRequestControl(AsyncCallback, Object)

Requests control of the shared resource.

BeginRetrieve(AsyncCallback, Object)

Retrieves a held modality.

(Inherited from Modality)
BeginRevokeControl(AsyncCallback, Object)

Revokes control of the shared resource.

BeginSetProperty(ModalityProperty, Object, AsyncCallback, Object)

Sets a property associated with this modality.

(Inherited from Modality)
BeginShareDesktop(AsyncCallback, Object)

Connects the modality, if not connected already, and starts sharing the desktop.

BeginShareResources(IList<SharingResource>, AsyncCallback, Object)

Starts sharing resources with the given a list of resources.

BeginShareResources(SharingResource, AsyncCallback, Object)

Starts sharing resources with the given a resource.

BeginShareResources(SharingResourceList, AsyncCallback, Object)

Connects the modality, if not connected already, and starts sharing the given resources.

BeginTransfer(Contact, TransferOptions, AsyncCallback, Object)

Transfers an active conversation to a specified remote contact.

(Inherited from Modality)
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)
CanInvoke(ModalityAction)

Returns a flag indicating whether a specific action is available.

(Inherited from Modality)
CanSetProperty(ModalityProperty)

Test whether the property can be set to the modality.

(Inherited from Modality)
CanShare(SharingResourceType)

Finds if the given resource type can be shared

CanShare(SharingResourceType, CanShareDetail)

Finds if the given resource type can be shared and provides some detail.

EndAcceptControlRequest(IAsyncResult)

Accepts a pending control request.

EndConnect(IAsyncResult)

Connects to the modality.

(Inherited from Modality)
EndConsultativeTransfer(ModalityState, IList<String>, IAsyncResult)

Transfers a connected modality to an existing conversation.

(Inherited from Modality)
EndDeclineControlRequest(IAsyncResult)

Declines a pending control request.

EndDisconnect(IAsyncResult)

Disconnects from the modality.

(Inherited from Modality)
EndForward(IAsyncResult)

Forwards a connecting incoming modality to a different location.

(Inherited from Modality)
EndGrantControl(IAsyncResult)

Grants control of the shared resource.

EndHold(IAsyncResult)

Places the modality on hold.

(Inherited from Modality)
EndReleaseControl(IAsyncResult)

Releases control of the shared resource.

EndRequestControl(IAsyncResult)

Requests control of the shared resource.

EndRetrieve(IAsyncResult)

Retrieves a held modality.

(Inherited from Modality)
EndRevokeControl(IAsyncResult)

Revokes control of the shared resource.

EndSetProperty(IAsyncResult)

Sets a property associated with this modality.

(Inherited from Modality)
EndShareDesktop(IAsyncResult)

Connects the modality, if not connected already, and starts sharing the desktop.

EndShareResources(IAsyncResult)

Connects the modality, if not connected already, and starts sharing the given resources.

EndTransfer(ModalityState, IList<String>, IAsyncResult)

Transfers a connected modality to a different location.

(Inherited from Modality)
Finalize()
Reject(ModalityDisconnectReason)

Reject an offer for the modality.

(Inherited from Modality)

Events

ActionAvailabilityChanged

Raised when an action availability changes.

(Inherited from Modality)
ApplicationSharingModalityPropertyChanged

Raised when a property value changes

ControllerChanged

Registered on the Conversation ApplicationSharingModality and raised when the shared resource controller changed.

ControlRequestReceived

Registered on the Conversation ApplicationSharingModality and raised when someone requests control of a resource.

LocalSharedResourcesChanged

Raised when the list of locally shared resources changes.

ModalityStateChanged

Raised when modality state changes

(Inherited from Modality)
ParticipationStateChanged

Raised when the participation state has changed.

SharerChanged

Raised when the sharer changed.

Applies to