public BranchRelative[][] QueryBranches(string tfsUrl, ICredentials credentials, string workspaceName, ItemSpec[] items, VersionSpec version) { return(WrapWebException <BranchRelative[][]>(delegate { Repository webSvc = CreateProxy(tfsUrl, credentials); string username = TfsUtil.GetUsername(credentials, tfsUrl); return webSvc.QueryBranches(workspaceName, username, items, version); })); }
public ExtendedItem[][] QueryItemsExtended(string tfsUrl, ICredentials credentials, string workspaceName, ItemSpec[] items, DeletedState deletedState, ItemType itemType) { return(WrapWebException <ExtendedItem[][]>(delegate { Repository webSvc = CreateProxy(tfsUrl, credentials); string username = TfsUtil.GetUsername(credentials, tfsUrl); return webSvc.QueryItemsExtended(workspaceName, username, items, deletedState, itemType); })); }