DiscussionThread Constructor (IDiscussionManager, Int32, Uri, String)

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, _
    itemPath As String _
)
public DiscussionThread(
    IDiscussionManager discussionManager,
    int workItemId,
    Uri versionUri,
    string itemPath
)
public:
DiscussionThread(
    IDiscussionManager^ discussionManager, 
    int workItemId, 
    Uri^ versionUri, 
    String^ itemPath
)
new : 
        discussionManager:IDiscussionManager * 
        workItemId:int * 
        versionUri:Uri * 
        itemPath:string -> DiscussionThread
public function DiscussionThread(
    discussionManager : IDiscussionManager, 
    workItemId : int, 
    versionUri : Uri, 
    itemPath : String
)

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.

  • itemPath
    Type: System.String

    Server path of the file that contains the discussion.

.NET Framework Security

See Also

Reference

DiscussionThread Class

DiscussionThread Overload

Microsoft.TeamFoundation.Discussion.Client Namespace