TeamFoundationHttpResourceManagementService.CreateComponent<TComponent> Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateComponent(Of TComponent As HttpResourceComponent) ( _
requestContext As TeamFoundationRequestContext _
) As TComponent
public TComponent CreateComponent<TComponent>(
TeamFoundationRequestContext requestContext
)
where TComponent : HttpResourceComponent
public:
generic<typename TComponent>
where TComponent : HttpResourceComponent
TComponent CreateComponent(
TeamFoundationRequestContext^ requestContext
)
member CreateComponent :
requestContext:TeamFoundationRequestContext -> 'TComponent when 'TComponent : HttpResourceComponent
JScript does not support generic types or methods.
Type Parameters
- TComponent
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: TComponent
.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.