Partager via


GitNoPreviousChangeException Constructor

Throw when an item could be found at a given commit but no previous change could be found

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    path As String, _
    versionType As String, _
    versionId As String, _
    commitId As String _
)
public GitNoPreviousChangeException(
    string path,
    string versionType,
    string versionId,
    string commitId
)
public:
GitNoPreviousChangeException(
    String^ path, 
    String^ versionType, 
    String^ versionId, 
    String^ commitId
)
new : 
        path:string * 
        versionType:string * 
        versionId:string * 
        commitId:string -> GitNoPreviousChangeException
public function GitNoPreviousChangeException(
    path : String, 
    versionType : String, 
    versionId : String, 
    commitId : String
)

Parameters

  • commitId
    Type: System.String

    commitId where the previous version was requested

.NET Framework Security

See Also

Reference

GitNoPreviousChangeException Class

Microsoft.TeamFoundation.Git.Server Namespace