TeamFoundationServicingService.AddServicingResource Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub AddServicingResource ( _
requestContext As TeamFoundationRequestContext, _
resourceName As String, _
hash As Byte(), _
fileStream As Stream, _
fileLength As Long, _
compressedLength As Long, _
offsetFrom As Long, _
compressionType As CompressionType _
)
public void AddServicingResource(
TeamFoundationRequestContext requestContext,
string resourceName,
byte[] hash,
Stream fileStream,
long fileLength,
long compressedLength,
long offsetFrom,
CompressionType compressionType
)
public:
void AddServicingResource(
TeamFoundationRequestContext^ requestContext,
String^ resourceName,
array<unsigned char>^ hash,
Stream^ fileStream,
long long fileLength,
long long compressedLength,
long long offsetFrom,
CompressionType compressionType
)
member AddServicingResource :
requestContext:TeamFoundationRequestContext *
resourceName:string *
hash:byte[] *
fileStream:Stream *
fileLength:int64 *
compressedLength:int64 *
offsetFrom:int64 *
compressionType:CompressionType -> unit
public function AddServicingResource(
requestContext : TeamFoundationRequestContext,
resourceName : String,
hash : byte[],
fileStream : Stream,
fileLength : long,
compressedLength : long,
offsetFrom : long,
compressionType : CompressionType
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- resourceName
Type: System.String
- hash
Type: array<System.Byte[]
- fileStream
Type: System.IO.Stream
- fileLength
Type: System.Int64
- compressedLength
Type: System.Int64
- offsetFrom
Type: System.Int64
- compressionType
Type: Microsoft.TeamFoundation.Framework.Server.CompressionType
.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.