Edit

Share via


ContentSharingModality Class

Definition

Creates and manages a collection of shareable content items.

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

Remarks

The ContentSharingModality inherits the methods, properties, and events from the Modality class. If you are sharing a whiteboard session with annotations in a conversation and then disconnect the ContentSharingModality, all of the whiteboard annotations are lost unless you save the whiteboard and associated annotations to a local file first.

Properties

ActiveContent

Returns the active content. NULL is valid.

ActivePresenter

Returns the active presenter. NULL is valid.

ContentCollection

Returns the collection of content.

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)
Participant

Gets the associated participant object.

(Inherited from Modality)
Properties

Gets a collection of modality properties.

(Inherited from Modality)
State

Gets the modality state.

(Inherited from Modality)

Methods

Accept()

Accept an offer for the modality.

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

Creates a content object of the specified type with the given title.

BeginCreateContentFromFile(ShareableContentType, String, String, Boolean, AsyncCallback, Object)

Creates a content object of the PowerPoint or NativeFile type with the given title and file name.

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)
BeginHold(AsyncCallback, Object)

Places the modality on hold.

(Inherited from Modality)
BeginRetrieve(AsyncCallback, Object)

Retrieves a held modality.

(Inherited from Modality)
BeginSetProperty(ModalityProperty, Object, AsyncCallback, Object)

Sets a property associated with this modality.

(Inherited from Modality)
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)
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)
EndCreateContent(IAsyncResult)

Blocks calling thread until BeginCreateContent completes.

EndCreateContentFromFile(IAsyncResult)

Blocks calling thread until BeginCreateContentFromFile completes.

EndDisconnect(IAsyncResult)

Disconnects from the modality.

(Inherited from Modality)
EndForward(IAsyncResult)

Forwards a connecting incoming modality to a different location.

(Inherited from Modality)
EndHold(IAsyncResult)

Places the modality on hold.

(Inherited from Modality)
EndRetrieve(IAsyncResult)

Retrieves a held modality.

(Inherited from Modality)
EndSetProperty(IAsyncResult)

Sets a property associated with this modality.

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

Raised when the active content is changed

ActivePresenterChanged

Raised when the active presenter is changed

ContentAdded

Raised when any conversation participant has added a ShareableContent object to the conversation.

ContentRemoved

Raised when an existing ShareableContent has been removed from the content collection of the ContentSharingModality.

ModalityStateChanged

Raised when modality state changes

(Inherited from Modality)

Applies to