Поделиться через


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

Return Value

Type: System.Collections.Generic.List<CatalogResource>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationCatalogService Class

Microsoft.TeamFoundation.Server.Core Namespace