Поделиться через


TeamFoundationStrongBoxService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.TeamFoundationStrongBoxService

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Class TeamFoundationStrongBoxService
public class TeamFoundationStrongBoxService
public ref class TeamFoundationStrongBoxService
type TeamFoundationStrongBoxService =  class end
public class TeamFoundationStrongBoxService

The TeamFoundationStrongBoxService type exposes the following members.

Methods

  Name Description
Public method AddString Add a string value to the strong box. The method sends the string as part of a single https request, and therefore should be small.
Public method CreateDrawer Create a new drawer in the StrongBox for this TeamProjectCollection
Public method DeleteDrawer Delete a StrongBox drawer. Deletes all contents of the drawer additionally.
Public method DeleteItem Delete an item from the StrongBox drawer.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetString Retrieve a value from a drawer as a string. This method returns the string as part of the https response from the server.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RetrieveFile Retrieve a file from a drawer as a string. This method downloads value as a file to the local system, and then reads its contents into the string.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnlockDrawer Unlock an existing StrongBox drawer for access.
Public method UploadFile Add a file to the StrongBox Drawer. This method uploads the file via chunks, and therefore can be any size.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace