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
- 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.