共用方式為


ClientServiceProxy Class

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy
              Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy

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

Syntax

'宣告
<CLSCompliantAttribute(False)> _
<WebServiceBindingAttribute(Name := "ClientServiceSoap12", Namespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03")> _
Public Class ClientServiceProxy _
    Inherits TeamFoundationSoapProxy
[CLSCompliantAttribute(false)]
[WebServiceBindingAttribute(Name = "ClientServiceSoap12", Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03")]
public class ClientServiceProxy : TeamFoundationSoapProxy
[CLSCompliantAttribute(false)]
[WebServiceBindingAttribute(Name = L"ClientServiceSoap12", Namespace = L"https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03")]
public ref class ClientServiceProxy : public TeamFoundationSoapProxy
[<CLSCompliantAttribute(false)>]
[<WebServiceBindingAttribute(Name = "ClientServiceSoap12", Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03")>]
type ClientServiceProxy =  
    class
        inherit TeamFoundationSoapProxy
    end
public class ClientServiceProxy extends TeamFoundationSoapProxy

The ClientServiceProxy type exposes the following members.

Constructors

  Name Description
Public method ClientServiceProxy() Obsolete.
Public method ClientServiceProxy(TeamFoundationServer) Obsolete.
Public method ClientServiceProxy(TfsTeamProjectCollection)

Top

Properties

  Name Description
Public property AllowAutoRedirect Gets or sets whether the client automatically follows server redirects. (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property ClientCertificates Gets the collection of client certificates. (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName Gets or sets the name of the connection group for the request. (Inherited from WebClientProtocol.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property CookieContainer Gets or sets the collection of cookies. (Inherited from HttpWebClientProtocol.)
Public property Credentials Gets or sets security credentials for XML Web service client authentication. (Inherited from WebClientProtocol.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property EnableDecompression Gets or sets a Boolean that indicates whether decompression is enabled for this HttpWebClientProtocol. (Inherited from HttpWebClientProtocol.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property PreAuthenticate Gets or sets whether pre-authentication is enabled. (Inherited from WebClientProtocol.)
Public property Proxy Gets or sets proxy information for making an XML Web service request through a firewall. (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding The Encoding used to make the client request to the XML Web service. (Inherited from WebClientProtocol.)
Public property RequestHeaderValue
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property SoapVersion Gets or sets the version of the SOAP protocol used to make the SOAP request to the XML Web service. (Inherited from SoapHttpClientProtocol.)
Public property TeamFoundationServer Obsolete. (Obsolete) Gets or sets the TeamFoundationServer object that is associated with this proxy. (Inherited from TeamFoundationSoapProxy.)
Public property TfsConnection Gets or sets the TfsConnection object that is associated with this proxy. (Inherited from TeamFoundationSoapProxy.)
Public property Timeout Indicates the time an XML Web service client waits for the reply to a synchronous XML Web service request to arrive (in milliseconds). (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing Gets or sets a value that indicates whether connection sharing is enabled when the client uses NTLM authentication to connect to the Web server that hosts the XML Web service. (Inherited from HttpWebClientProtocol.)
Public property Url Gets or sets the base URL of the XML Web service the client is requesting. (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials Gets or sets a value that indicates whether to set the Credentials property to the value of the CredentialCache.DefaultCredentials property. (Inherited from WebClientProtocol.)
Public property UserAgent Gets or sets the value for the user agent header that is sent with each request. (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort Cancels a request to an XML Web service method. (Inherited from WebClientProtocol.)
Protected method BeginInvoke Starts an asynchronous invocation of an XML Web service method using SOAP. (Inherited from SoapHttpClientProtocol.)
Public method BulkUpdate
Protected method CancelAsync Cancels an asynchronous call to an XML Web service method, unless the call has already completed. (Inherited from HttpWebClientProtocol.)
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 Discover Dynamically binds to an XML Web service described in the discovery document at Url. (Inherited from SoapHttpClientProtocol.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.)
Protected method EndInvoke Ends an asynchronous invocation of an XML Web service method using SOAP. (Inherited from SoapHttpClientProtocol.)
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
Protected method GetReaderForMessage Returns an XmlReader initialized with the Stream property of the SoapClientMessage parameter. (Inherited from SoapHttpClientProtocol.)
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.)
Protected method GetWebRequest (Inherited from TeamFoundationSoapProxy.)
Protected method GetWebResponse(WebRequest) (Inherited from TeamFoundationSoapProxy.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from TeamFoundationSoapProxy.)
Public method GetWorkItem
Public method GetWorkitemTrackingVersion
Protected method GetWriterForMessage (Inherited from TeamFoundationSoapProxy.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Invoke Invokes an XML Web service method synchronously using SOAP. (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, array<Object[], SendOrPostCallback) Invokes the specified method asynchronously. (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, array<Object[], SendOrPostCallback, Object) Invokes the specified method asynchronously. (Inherited from SoapHttpClientProtocol.)
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 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
Protected method ThrowIfUnauthorized (Inherited from TeamFoundationSoapProxy.)
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

Top

Events

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

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