Edit

Share via


ContentSharingModality.BeginCreateContent Method

Definition

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

public:
 IAsyncResult ^ BeginCreateContent(Microsoft::Lync::Model::Conversation::Sharing::ShareableContentType contentType, System::String ^ title, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginCreateContent (Microsoft.Lync.Model.Conversation.Sharing.ShareableContentType contentType, string title, AsyncCallback callback, object state);
member this.BeginCreateContent : Microsoft.Lync.Model.Conversation.Sharing.ShareableContentType * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginCreateContent (contentType As ShareableContentType, title As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

contentType
ShareableContentType
title
String
callback
AsyncCallback
state
Object

Returns

System.IAsyncResult

Remarks

Do not call this method on the ContentSharingModality you get from Participant.Modalities[ModalityType.ContentSharing]. You can only call BeginCreateContent on the Conversation ContentSharingModality. It can only be invoked when the state of the ContentSharingModality is ModalityState.Connected. Use this method to create WhiteBoard content objects.

Applies to