Bagikan melalui


IDiscussionManager Interface

Manages publishing and querying the discussions against Team Foundation Server.

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

Syntax

'Declaration
Public Interface IDiscussionManager
public interface IDiscussionManager
public interface class IDiscussionManager
type IDiscussionManager =  interface end
public interface IDiscussionManager

The IDiscussionManager type exposes the following members.

Properties

  Name Description
Public property LocalDataRetentionDays The number of days the local data will be retained since the last saved date.

Top

Methods

  Name Description
Public method BeginCleanup Cleans up the discussions in the local storage.
Public method BeginPublish Publishes the discussions so other viewers can see them.
Public method BeginQueryByCodeReviewRequest Queries the discussions associated with the specified code review request. The results can come from the server or the local store, or both, by setting the option, whose default value is QueryStoreOption.ServerOnly.
Public method BeginQueryByVersion Queries the discussions associated with the specified changeset or shelveset. The results can come from the server or the local store, or both, by setting the option, whose default value is QueryStoreOption.ServerOnly.
Public method BeginSave Saves the changed discussions to the local storage.
Public method EndCleanup Ends cleaning up the discussions.
Public method EndPublish Ends publishing the discussions.
Public method EndQueryByCodeReviewRequest Ends querying discussions by the specified code review request.
Public method EndQueryByVersion Ends querying discussions by the specified changeset or shelveset.
Public method EndSave Ends saving the discussions.

Top

Events

  Name Description
Public event LocalDataLost Notifies that the local storage is corrupted and existing data is lost.

Top

See Also

Reference

Microsoft.TeamFoundation.Discussion.Client Namespace