Delen via


IDiscussionManager.BeginCleanup Method

Cleans up the discussions in the local storage.

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

Syntax

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

Parameters

Return Value

Type: System.IAsyncResult
Returns IAsyncResult.

Remarks

This method does not make a server trip. The discussions and comments are not changed or deleted, they are only removed from local storage.

.NET Framework Security

See Also

Reference

IDiscussionManager Interface

Microsoft.TeamFoundation.Discussion.Client Namespace