GitFileUtility.GetZipStream Method (TeamFoundationRequestContext, TfsGitRepository, array<Byte[], String)
[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.Utilities
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Shared Function GetZipStream ( _
requestContext As TeamFoundationRequestContext, _
repo As TfsGitRepository, _
objectId As Byte(), _
zipName As String _
) As PushStreamContent
public static PushStreamContent GetZipStream(
TeamFoundationRequestContext requestContext,
TfsGitRepository repo,
byte[] objectId,
string zipName
)
public:
static PushStreamContent^ GetZipStream(
TeamFoundationRequestContext^ requestContext,
TfsGitRepository^ repo,
array<unsigned char>^ objectId,
String^ zipName
)
static member GetZipStream :
requestContext:TeamFoundationRequestContext *
repo:TfsGitRepository *
objectId:byte[] *
zipName:string -> PushStreamContent
public static function GetZipStream(
requestContext : TeamFoundationRequestContext,
repo : TfsGitRepository,
objectId : byte[],
zipName : String
) : PushStreamContent
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- objectId
Type: array<System.Byte[]
- zipName
Type: System.String
Return Value
Type: System.Net.Http.PushStreamContent
.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.
See Also
Reference
Microsoft.TeamFoundation.SourceControl.WebApi.Utilities Namespace