Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RepositoryExtensions Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The RepositoryExtensions class is divided into several partial classes where groups of WebMethods are implemented. This keeps all methods from being listed in a single file and is much more maintainable.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
[ProxyParentClassAttribute("VersionControlClientProxy")]
[ClientServiceAttribute(ServiceName = "ISCCProvider3", CollectionServiceIdentifier = "ec9b0153-ee54-450e-b6e0-664ecb033c99")]
[WebServiceAttribute(Namespace = "http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03", 
	Description = "Team Foundation VersionControl ClientServices web service")]
public class RepositoryExtensions : VersionControlWebService

The RepositoryExtensions type exposes the following members.

  NameDescription
Public propertyApplicationGets the application object for the current HTTP request. (Inherited from WebService.)
Public propertyContainerGets the container for the component. (Inherited from MarshalByValueComponent.)
Public propertyContextGets the ASP.NET HttpContext for the current request, which encapsulates all HTTP-specific context used by the HTTP server to process Web requests. (Inherited from WebService.)
Public propertyDesignModeGets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.)
Protected propertyEventsGets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.)
Protected propertyRequestContextThe RequestContext associated with this web service request. (Inherited from TeamFoundationWebService.)
Public propertyServerGets the HttpServerUtility for the current request. (Inherited from WebService.)
Public propertySessionGets the HttpSessionState instance for the current request. (Inherited from WebService.)
Public propertySiteGets or sets the site of the component. (Inherited from MarshalByValueComponent.)
Public propertySoapVersionGets the version of the SOAP protocol used to make the SOAP request to the XML Web service. (Inherited from WebService.)
Public propertyUserGets the ASP.NET server User object. Can be used to authenticate whether a user is authorized to execute the request. (Inherited from WebService.)
Top
  NameDescription
Public methodAddProxyAdds a new proxy server record with the given parameters.
Protected methodAddWebServiceResourceAdds IDisposable resources used by Web Service methods which should be disposed at the end of the request. (Inherited from TeamFoundationWebService.)
Public methodCheckIn
Public methodCheckInShelveset
Public methodDeleteBranchObjectDeletes a branch object and all associated relationships.
Public methodDeleteProxyDeletes the proxy record as specified by the given identifier from the server.
Public methodDispose()Releases all resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. (Inherited from MarshalByValueComponent.)
Protected methodEnterMethod (Inherited from VersionControlWebService.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.)
Public methodGetCalled by the client to synchronize the workspace with a given version. Returns a "to do" list of files for the client to download to update the user's local working copies.
Public methodGetChangesetPropertyObtains properties associated with a given change set.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetServiceGets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetVersionedItemPropertyObtains properties associated with versioned items.
Protected methodHandleExceptionThis basic WebService ExceptionHandler captures the exception and records it in the request Context for future logging. Services may choose to over-ride this method, perform some actions based on the exception, changing the exception, eating it or just letting it pass. (Inherited from TeamFoundationWebService.)
Protected methodLeaveMethod (Inherited from VersionControlWebService.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMergeReturns the list of GetOperations for pending merges automatically resolved and conflicts for the ones that are not automatically resolved.
Public methodPendChangesCalled to perform adds, checkouts, branches, renames, deletes, and so on. Changes submitted may contain wildcard characters and recursion flags. Wildcards and recursions will be expanded and the list of changes successfully pended will be returned.
Public methodQueryBranchObjectOwnershipQueries the branch object ownership information for a given changeset Returns the Root branches which the changeset belongs too and the count of items in each branch.
Public methodQueryBranchObjectsQueries for branch objects recursively.
Public methodQueryChangesetExtendedQuery change set with properties.
Public methodQueryChangesForChangesetQueries changes throughout a given changeset (can be paged or non-pages).
Public methodQueryMergeRelationshipsReturns the paths the input path is related to, together with Version information at latest.
Public methodQueryMergesExtended
Public methodQueryPendingChangesForWorkspaceReturns a list of pending changes matching specified criteria. These results are limited by the value passed in for page size. The value of lastChange specifies where to begin paging from, or null for the first page. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all its descendants are returned.
Public methodQueryProxiesReturns a list of proxy records.
Public methodResetCheckinDatesResets the check-in dates of all changesets in the TPC to before the last date.This will be used by the migration tools, and will only work on an "empty" TPC. Empty means that only the following checkins could have occurred. a. $/ b. Team Project Creation c. Team Project Creation + 1 changeset - for Build Definitions.
Public methodResolveResolves a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.
Public methodRollbackRolls back changes in a given tree for a specific version range.
Public methodSetChangesetPropertySets property values to a changeset.
Protected methodSetMethodNameSets the method name (does NOT call EnterMethod) This is meant to be called with the same instance of methodInformation, but without the parameters so that the method is correctly logged in the activity log rather than just its URL. (Inherited from TeamFoundationWebService.)
Public methodSetPendingChangeProperty
Public methodSetVersionedItemPropertySets properties to versioned items.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.)
Public methodTrackMergesReturns merges which occurred from a source item for a list of source changesets to a set of target items. The source and target items do not have to be directly related in merge history.
Public methodUndoPendingChangesUndoes a set of pending changes. If a serverItem spec does not match anything, a Failure object is returned for it. This method returns an array of pending changes that were undone. For each file, the client should call DownloadFile() and specify the version returned in the UndonePendingChange object to retrieve the unmodified versions of the files.
Public methodUnshelveCopies shelved changes into a workspace.
Public methodUpdateBranchObjectCreates / updates a branch object. If the item exists but is not a branch object It will mark the item as a root of a branch.
Top
  NameDescription
Public eventDisposedAdds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.