Share via


ProcessTemplate.GetResource Method (TeamFoundationRequestContext, String, array<Byte %, Int64%)

Namespace:  Microsoft.TeamFoundation.Framework.Server.Alm
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetResource ( _
    requestContext As TeamFoundationRequestContext, _
    resourceName As String, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long _
) As Stream
public Stream GetResource(
    TeamFoundationRequestContext requestContext,
    string resourceName,
    out byte[] hashValue,
    out long contentLength
)
public:
virtual Stream^ GetResource(
    TeamFoundationRequestContext^ requestContext, 
    String^ resourceName, 
    [OutAttribute] array<unsigned char>^% hashValue, 
    [OutAttribute] long long% contentLength
) sealed
abstract GetResource : 
        requestContext:TeamFoundationRequestContext * 
        resourceName:string * 
        hashValue:byte[] byref * 
        contentLength:int64 byref -> Stream  
override GetResource : 
        requestContext:TeamFoundationRequestContext * 
        resourceName:string * 
        hashValue:byte[] byref * 
        contentLength:int64 byref -> Stream
public final function GetResource(
    requestContext : TeamFoundationRequestContext, 
    resourceName : String, 
    hashValue : byte[], 
    contentLength : long
) : Stream

Parameters

Return Value

Type: System.IO.Stream

Implements

IProcessTemplate.GetResource(TeamFoundationRequestContext, String, array<Byte[]%, Int64%)

.NET Framework Security

See Also

Reference

ProcessTemplate Class

GetResource Overload

Microsoft.TeamFoundation.Framework.Server.Alm Namespace