Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructs a Versioned Item URI object given a Team Foundation Server URL, a server path, changeset, and deletion ID.
Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)
Syntax
'Declaration
Public Sub New ( _
    teamFoundationServerUrl As String, _
    serverItem As String, _
    changeset As Integer, _
    deletionId As Integer, _
    type As UriType _
)
public VersionedItemUri(
    string teamFoundationServerUrl,
    string serverItem,
    int changeset,
    int deletionId,
    UriType type
)
public:
VersionedItemUri(
    String^ teamFoundationServerUrl, 
    String^ serverItem, 
    int changeset, 
    int deletionId, 
    UriType type
)
new : 
        teamFoundationServerUrl:string * 
        serverItem:string * 
        changeset:int * 
        deletionId:int * 
        type:UriType -> VersionedItemUri
public function VersionedItemUri(
    teamFoundationServerUrl : String, 
    serverItem : String, 
    changeset : int, 
    deletionId : int, 
    type : UriType
)
Parameters
- teamFoundationServerUrl 
 Type: System.String- The URL of a Team Foundation server. 
- serverItem 
 Type: System.String- The server path of the item. 
- changeset 
 Type: System.Int32- The changeset for which an artifact should be constructed. 
- deletionId 
 Type: System.Int32- The deletion ID of the object. 
- type 
 Type: Microsoft.TeamFoundation.VersionControl.Common.UriType- Indicates whether a "Web-view Uri should be created. 
.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.