다음을 통해 공유


TfsApiControllerExtensions.GenerateResponse Method

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GenerateResponse ( _
    tfsApiController As TfsApiController, _
    collection As IEnumerable(Of Object), _
    t As Type _
) As HttpResponseMessage
public static HttpResponseMessage GenerateResponse(
    this TfsApiController tfsApiController,
    IEnumerable<Object> collection,
    Type t
)
[ExtensionAttribute]
public:
static HttpResponseMessage^ GenerateResponse(
    TfsApiController^ tfsApiController, 
    IEnumerable<Object^>^ collection, 
    Type^ t
)
static member GenerateResponse : 
        tfsApiController:TfsApiController * 
        collection:IEnumerable<Object> * 
        t:Type -> HttpResponseMessage
public static function GenerateResponse(
    tfsApiController : TfsApiController, 
    collection : IEnumerable<Object>, 
    t : Type
) : HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TfsApiController. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

TfsApiControllerExtensions Class

Microsoft.TeamFoundation.Framework.Server Namespace