TeamFoundationStrongBoxService.UploadFile Method
Add a file to the StrongBox Drawer. This method uploads the file via chunks, and therefore can be any size.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub UploadFile ( _
drawerId As Guid, _
lookupKey As String, _
file As Stream _
)
public void UploadFile(
Guid drawerId,
string lookupKey,
Stream file
)
public:
void UploadFile(
Guid drawerId,
String^ lookupKey,
Stream^ file
)
member UploadFile :
drawerId:Guid *
lookupKey:string *
file:Stream -> unit
public function UploadFile(
drawerId : Guid,
lookupKey : String,
file : Stream
)
Parameters
drawerId
Type: System.GuidThe unique identifier returned from CreateDrawer or UnlockDrawer.
lookupKey
Type: System.StringThe identifier that is used to look up the value in the drawer.
file
Type: System.IO.StreamThe stream of the file.
.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.