Freigeben über


TeamFoundationResourceManagementService.CreateComponentExecuteFuncAndDispose<TComponent, TResult>-Methode

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function CreateComponentExecuteFuncAndDispose(Of TComponent As TeamFoundationSqlResourceComponent, TResult) ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String, _
    func As Func(Of TComponent, TResult) _
) As TResult
public TResult CreateComponentExecuteFuncAndDispose<TComponent, TResult>(
    TeamFoundationRequestContext requestContext,
    string databaseCategory,
    Func<TComponent, TResult> func
)
where TComponent : TeamFoundationSqlResourceComponent

Typparameter

  • TComponent
  • TResult

Parameter

Rückgabewert

Typ: TResult

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationResourceManagementService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace