DiscussionThread Constructor (IDiscussionManager, Int32, Uri)

Constructs a discussion.

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

Syntax

'Declaration
Public Sub New ( _
    discussionManager As IDiscussionManager, _
    workItemId As Integer, _
    versionUri As Uri _
)
public DiscussionThread(
    IDiscussionManager discussionManager,
    int workItemId,
    Uri versionUri
)
public:
DiscussionThread(
    IDiscussionManager^ discussionManager, 
    int workItemId, 
    Uri^ versionUri
)
new : 
        discussionManager:IDiscussionManager * 
        workItemId:int * 
        versionUri:Uri -> DiscussionThread
public function DiscussionThread(
    discussionManager : IDiscussionManager, 
    workItemId : int, 
    versionUri : Uri
)

Parameters

  • workItemId
    Type: System.Int32

    Workitem Id of the code review request.

  • versionUri
    Type: System.Uri

    Can only be a uri of a changeset or a shelveset.

.NET Framework Security

See Also

Reference

DiscussionThread Class

DiscussionThread Overload

Microsoft.TeamFoundation.Discussion.Client Namespace