Delen via


ServiceHost<T>.CheckIfDisposed Method

Verify the host is still a valid host object and hasn't been disposed before we start using it.

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

Syntax

'Declaration
Protected Overridable Sub CheckIfDisposed
protected virtual void CheckIfDisposed()
protected:
virtual void CheckIfDisposed()
abstract CheckIfDisposed : unit -> unit  
override CheckIfDisposed : unit -> unit
protected function CheckIfDisposed()

.NET Framework Security

See Also

Reference

ServiceHost<T> Class

Microsoft.TeamFoundation.Framework.Server Namespace