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
- discussions
Type: System.Collections.Generic.IEnumerable<DiscussionThread>
- callback
Type: System.AsyncCallback
- userState
Type: System.Object
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.