ServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub ServiceEnd ( _
    systemRequestContext As TeamFoundationRequestContext _
)
void ServiceEnd(
    TeamFoundationRequestContext systemRequestContext
)
void ServiceEnd(
    TeamFoundationRequestContext^ systemRequestContext
)
abstract ServiceEnd : 
        systemRequestContext:TeamFoundationRequestContext -> unit
function ServiceEnd(
    systemRequestContext : TeamFoundationRequestContext
)
Parameters
- systemRequestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The system request context that can be used to perform system actions. 
.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.