TeamFoundationFileService.CopyStreamToTempFile Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CopyStreamToTempFile ( _
requestContext As TeamFoundationRequestContext, _
stream As Stream, _
ByRef compressionType As CompressionType, _
compressOutput As Boolean _
) As FileStream
public FileStream CopyStreamToTempFile(
TeamFoundationRequestContext requestContext,
Stream stream,
ref CompressionType compressionType,
bool compressOutput
)
public:
FileStream^ CopyStreamToTempFile(
TeamFoundationRequestContext^ requestContext,
Stream^ stream,
CompressionType% compressionType,
bool compressOutput
)
member CopyStreamToTempFile :
requestContext:TeamFoundationRequestContext *
stream:Stream *
compressionType:CompressionType byref *
compressOutput:bool -> FileStream
public function CopyStreamToTempFile(
requestContext : TeamFoundationRequestContext,
stream : Stream,
compressionType : CompressionType,
compressOutput : boolean
) : FileStream
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- stream
Type: System.IO.Stream
- compressionType
Type: Microsoft.TeamFoundation.Framework.Server.CompressionType%
- compressOutput
Type: System.Boolean
Return Value
Type: System.IO.FileStream
Returns FileStream.
.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.