Partager via


GitNoParentVersionException Constructor

Throw when a commit could be resolved but its parent could not be found

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

Syntax

'Declaration
Public Sub New ( _
    versionInfo As String, _
    commitId As String _
)
public GitNoParentVersionException(
    string versionInfo,
    string commitId
)
public:
GitNoParentVersionException(
    String^ versionInfo, 
    String^ commitId
)
new : 
        versionInfo:string * 
        commitId:string -> GitNoParentVersionException
public function GitNoParentVersionException(
    versionInfo : String, 
    commitId : String
)

Parameters

  • commitId
    Type: System.String

    commitId of the child commit with the unresolvable parent

.NET Framework Security

See Also

Reference

GitNoParentVersionException Class

Microsoft.TeamFoundation.Git.Server Namespace