UnprocessedCommit.FromTfsGitCommit Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Shared Function FromTfsGitCommit ( _
requestContext As TeamFoundationRequestContext, _
commit As TfsGitCommit, _
pushId As Integer _
) As UnprocessedCommit
public static UnprocessedCommit FromTfsGitCommit(
TeamFoundationRequestContext requestContext,
TfsGitCommit commit,
int pushId
)
public:
static UnprocessedCommit^ FromTfsGitCommit(
TeamFoundationRequestContext^ requestContext,
TfsGitCommit^ commit,
int pushId
)
static member FromTfsGitCommit :
requestContext:TeamFoundationRequestContext *
commit:TfsGitCommit *
pushId:int -> UnprocessedCommit
public static function FromTfsGitCommit(
requestContext : TeamFoundationRequestContext,
commit : TfsGitCommit,
pushId : int
) : UnprocessedCommit
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- commit
Type: Microsoft.TeamFoundation.Git.Server.TfsGitCommit
- pushId
Type: System.Int32
Return Value
Type: Microsoft.TeamFoundation.Git.Server.UnprocessedCommit
Returns UnprocessedCommit.
.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.