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
- 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.
.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.