TeamFoundationRequestContext.CreateHttpComponent<TComponent> Method

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

Syntax

'Declaration
Public Overridable Function CreateHttpComponent(Of TComponent As {New, HttpResourceComponent}) As TComponent
public virtual TComponent CreateHttpComponent<TComponent>()
where TComponent : new(), HttpResourceComponent
public:
generic<typename TComponent>
where TComponent : gcnew(), HttpResourceComponent 
virtual TComponent CreateHttpComponent()
abstract CreateHttpComponent : unit -> 'TComponent  when 'TComponent : new() and HttpResourceComponent 
override CreateHttpComponent : unit -> 'TComponent  when 'TComponent : new() and HttpResourceComponent
JScript does not support generic types or methods.

Type Parameters

  • TComponent

Return Value

Type: TComponent

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace