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
- resource
Type: System.IDisposable
.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.