DiscussionThread Constructor (IDiscussionManager, Int32, Uri, String, DiscussionPosition)
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, _
position As DiscussionPosition _
)
public DiscussionThread(
IDiscussionManager discussionManager,
int workItemId,
Uri versionUri,
string itemPath,
DiscussionPosition position
)
public:
DiscussionThread(
IDiscussionManager^ discussionManager,
int workItemId,
Uri^ versionUri,
String^ itemPath,
DiscussionPosition^ position
)
new :
discussionManager:IDiscussionManager *
workItemId:int *
versionUri:Uri *
itemPath:string *
position:DiscussionPosition -> DiscussionThread
public function DiscussionThread(
discussionManager : IDiscussionManager,
workItemId : int,
versionUri : Uri,
itemPath : String,
position : DiscussionPosition
)
Parameters
- discussionManager
Type: Microsoft.TeamFoundation.Discussion.Client.IDiscussionManager
workItemId
Type: System.Int32Workitem Id of the code review request.
versionUri
Type: System.UriCan only be a uri of a changeset or a shelveset.
itemPath
Type: System.StringServer path of the file that contains the discussion.
position
Type: Microsoft.TeamFoundation.Discussion.Client.DiscussionPositionPosition of the discussion in the file.
.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.