Share via


TeamFoundationServiceHost.ThrowIfShutdown Method

Throws an exception if the host is currently paused or stopped.

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

Syntax

'Declaration
Public Sub ThrowIfShutdown
public void ThrowIfShutdown()
public:
void ThrowIfShutdown()
member ThrowIfShutdown : unit -> unit
public function ThrowIfShutdown()

Exceptions

Exception Condition
HostShutdownException

.NET Framework Security

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace