共用方式為


ClientService Class

Note: This API is now obsolete.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientService

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Proxy
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Proxy (in Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll)

Syntax

'宣告
<ObsoleteAttribute("This class is obsolete. Please use WorkItemServer instead",  _
    True)> _
<CLSCompliantAttribute(False)> _
Public Class ClientService _
    Inherits Component
[ObsoleteAttribute("This class is obsolete. Please use WorkItemServer instead", 
    true)]
[CLSCompliantAttribute(false)]
public class ClientService : Component
[ObsoleteAttribute(L"This class is obsolete. Please use WorkItemServer instead", 
    true)]
[CLSCompliantAttribute(false)]
public ref class ClientService : public Component
[<ObsoleteAttribute("This class is obsolete. Please use WorkItemServer instead", 
    true)>]
[<CLSCompliantAttribute(false)>]
type ClientService =  
    class
        inherit Component
    end
public class ClientService extends Component

The ClientService type exposes the following members.

Constructors

  Name Description
Public method ClientService()
Public method ClientService(IContainer)
Public method ClientService(TeamFoundationServer)
Public method ClientService(TfsTeamProjectCollection)

Top

Properties

  Name Description
Public property AttachmentsUrl
Public property CallingProcessIdentity Obsolete.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property ConfigurationUrl
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Credentials
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property MaxAttachmentSize
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Url

Top

Methods

  Name Description
Public method BulkUpdate
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) (Overrides Component.Dispose(Boolean).)
Public method DownloadFile
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetMetadata
Public method GetMetadataEx
Public method GetMetadataEx2
Public method GetReferencingWorkitemUris
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetStoredQueries
Public method GetStoredQuery
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkItem
Public method GetWorkItemIdsForArtifactUris
Public method GetWorkitemTrackingVersion
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public methodStatic member NewRequestId
Public method PageWorkitemsByIdRevs
Public method PageWorkitemsByIds
Public method QueryWorkitemCount
Public method QueryWorkitems
Public method RequestCancel
Public method StampWorkitemCache
Public method SyncAccessControlLists
Public method SyncBisGroupsAndUsers
Public method SyncExternalStructures
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method Update
Public method UpdateMaxAttachmentSize
Public method UploadFile
Protected method UploadFileInternal

Top

Events

  Name Description
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

Top

Fields

  Name Description
Public fieldStatic member GetWorkItemLimit
Public fieldStatic member QueryNestingDepth
Public fieldStatic member UpdateNestingDepth

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.WorkItemTracking.Proxy Namespace