ProcessTemplate.UpdateCachedProcessParametersForAllTemplates Method
Looks at the file that was uploaded and determines if it is a file in tbl_BuildProcessTemplates. If it is, and FileExists == 1 it uses the BuildService to update it. If it is in the table and FileExists == 0, it uses the BuildService to re-add it. Otherwise, it ignores it. Note: this method is called by the plugin and by servicing steps
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Shared Sub UpdateCachedProcessParametersForAllTemplates ( _
requestContext As TeamFoundationRequestContext, _
containerItem As FileContainerItem _
)
public static void UpdateCachedProcessParametersForAllTemplates(
TeamFoundationRequestContext requestContext,
FileContainerItem containerItem
)
public:
static void UpdateCachedProcessParametersForAllTemplates(
TeamFoundationRequestContext^ requestContext,
FileContainerItem^ containerItem
)
static member UpdateCachedProcessParametersForAllTemplates :
requestContext:TeamFoundationRequestContext *
containerItem:FileContainerItem -> unit
public static function UpdateCachedProcessParametersForAllTemplates(
requestContext : TeamFoundationRequestContext,
containerItem : FileContainerItem
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- containerItem
Type: Microsoft.VisualStudio.Services.FileContainer.FileContainerItem
.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.