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
- 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.