GitHttpClient.GetTreeAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetTreeAsync ( _
repositoryId As Guid, _
sha1 As String, _
recursive As Boolean, _
userState As Object _
) As Task(Of GitTreeRef)
public Task<GitTreeRef> GetTreeAsync(
Guid repositoryId,
string sha1,
bool recursive,
Object userState
)
public:
Task<GitTreeRef^>^ GetTreeAsync(
Guid repositoryId,
String^ sha1,
bool recursive,
Object^ userState
)
member GetTreeAsync :
repositoryId:Guid *
sha1:string *
recursive:bool *
userState:Object -> Task<GitTreeRef>
public function GetTreeAsync(
repositoryId : Guid,
sha1 : String,
recursive : boolean,
userState : Object
) : Task<GitTreeRef>
Parameters
- repositoryId
Type: System.Guid
- sha1
Type: System.String
- recursive
Type: System.Boolean
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitTreeRef>
.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.