Delen via


IDiscussionManager.BeginPublish Method

Publishes the discussions so other viewers can see them.

Namespace:  Microsoft.TeamFoundation.Discussion.Client
Assembly:  Microsoft.TeamFoundation.Discussion.Client (in Microsoft.TeamFoundation.Discussion.Client.dll)

Syntax

'Declaration
Function BeginPublish ( _
    discussions As IEnumerable(Of DiscussionThread), _
    callback As AsyncCallback, _
    userState As Object _
) As IAsyncResult
IAsyncResult BeginPublish(
    IEnumerable<DiscussionThread> discussions,
    AsyncCallback callback,
    Object userState
)
IAsyncResult^ BeginPublish(
    IEnumerable<DiscussionThread^>^ discussions, 
    AsyncCallback^ callback, 
    Object^ userState
)
abstract BeginPublish : 
        discussions:IEnumerable<DiscussionThread> * 
        callback:AsyncCallback * 
        userState:Object -> IAsyncResult
function BeginPublish(
    discussions : IEnumerable<DiscussionThread>, 
    callback : AsyncCallback, 
    userState : Object
) : IAsyncResult

Parameters

Return Value

Type: System.IAsyncResult
Returns IAsyncResult.

Remarks

Publish does not sync the client objects with the server.

There can be only one invocation at a time. An exception is thrown if BeginPublish is called when IsPublishing is true.

.NET Framework Security

See Also

Reference

IDiscussionManager Interface

Microsoft.TeamFoundation.Discussion.Client Namespace