Поделиться через


TeamFoundationRequestContext.ThrowIfCanceled Method

Throws an exception if the current request has been canceled.

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

Syntax

'Declaration
Public Overridable Sub ThrowIfCanceled
public virtual void ThrowIfCanceled()
public:
virtual void ThrowIfCanceled()
abstract ThrowIfCanceled : unit -> unit  
override ThrowIfCanceled : unit -> unit
public function ThrowIfCanceled()

Exceptions

Exception Condition
RequestCanceledException

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace