TeamFoundationCatalogService.SaveTransactionContextChanges Method
Saves the changes associated with the transaction context after performing permission checks on them.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function SaveTransactionContextChanges ( _
requestContext As TeamFoundationRequestContext, _
context As CatalogTransactionContext, _
queryOptions As CatalogQueryOptions, _
preview As Boolean, _
<OutAttribute> ByRef deletedResources As List(Of CatalogResource), _
<OutAttribute> ByRef deletedNodes As List(Of CatalogNode) _
) As List(Of CatalogResource)
public List<CatalogResource> SaveTransactionContextChanges(
TeamFoundationRequestContext requestContext,
CatalogTransactionContext context,
CatalogQueryOptions queryOptions,
bool preview,
out List<CatalogResource> deletedResources,
out List<CatalogNode> deletedNodes
)
public:
List<CatalogResource^>^ SaveTransactionContextChanges(
TeamFoundationRequestContext^ requestContext,
CatalogTransactionContext^ context,
CatalogQueryOptions queryOptions,
bool preview,
[OutAttribute] List<CatalogResource^>^% deletedResources,
[OutAttribute] List<CatalogNode^>^% deletedNodes
)
member SaveTransactionContextChanges :
requestContext:TeamFoundationRequestContext *
context:CatalogTransactionContext *
queryOptions:CatalogQueryOptions *
preview:bool *
deletedResources:List<CatalogResource> byref *
deletedNodes:List<CatalogNode> byref -> List<CatalogResource>
public function SaveTransactionContextChanges(
requestContext : TeamFoundationRequestContext,
context : CatalogTransactionContext,
queryOptions : CatalogQueryOptions,
preview : boolean,
deletedResources : List<CatalogResource>,
deletedNodes : List<CatalogNode>
) : List<CatalogResource>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- queryOptions
Type: Microsoft.TeamFoundation.Framework.Common.CatalogQueryOptions
- preview
Type: System.Boolean
- deletedResources
Type: System.Collections.Generic.List<CatalogResource>%
- deletedNodes
Type: System.Collections.Generic.List<CatalogNode>%
Return Value
Type: System.Collections.Generic.List<CatalogResource>
Returns List<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.