GitPushesController.GetPush Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
<HttpGetAttribute> _
Public Function GetPush ( _
repositoryId As String, _
pushId As Integer, _
projectId As String, _
includeCommits As Integer _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetPush(
string repositoryId,
int pushId,
string projectId,
int includeCommits
)
[HttpGetAttribute]
public:
HttpResponseMessage^ GetPush(
String^ repositoryId,
int pushId,
String^ projectId,
int includeCommits
)
[<HttpGetAttribute>]
member GetPush :
repositoryId:string *
pushId:int *
projectId:string *
includeCommits:int -> HttpResponseMessage
public function GetPush(
repositoryId : String,
pushId : int,
projectId : String,
includeCommits : int
) : HttpResponseMessage
Parameters
- repositoryId
Type: System.String
- pushId
Type: System.Int32
- projectId
Type: System.String
- includeCommits
Type: System.Int32
Return Value
Type: System.Net.Http.HttpResponseMessage
.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.