TeamFoundationWebService.AddWebServiceResource Method

Adds IDisposable resources used by Web Service methods which should be disposed at the end of the request.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Protected Sub AddWebServiceResource ( _
    resource As IDisposable _
)
protected void AddWebServiceResource(
    IDisposable resource
)
protected:
void AddWebServiceResource(
    IDisposable^ resource
)
member AddWebServiceResource : 
        resource:IDisposable -> unit
protected function AddWebServiceResource(
    resource : IDisposable
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace