InedoSDK Reference
Version:

GitRemoteBranch(GitObjectId target, string name, bool isProtected) Constructor

Initializes a new instance of the GitRemoteBranch class.

Syntax

public GitRemoteBranch(GitObjectId target, string name, bool isProtected)

Parameters

target
Type: GitObjectId

Target commit ID.

name
Type: string

Name of the branch.

isProtected
Type: bool

Value indicating whether this is a protected branch.

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic).