Freigeben über


TeamFoundationRequestContext.EnterCancelableRegion Method

Associates a cancelable object together with this request.

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

Syntax

'Declaration
Public Overridable Sub EnterCancelableRegion ( _
    cancelableObject As ICancelable _
)
public virtual void EnterCancelableRegion(
    ICancelable cancelableObject
)
public:
virtual void EnterCancelableRegion(
    ICancelable^ cancelableObject
)
abstract EnterCancelableRegion : 
        cancelableObject:ICancelable -> unit  
override EnterCancelableRegion : 
        cancelableObject:ICancelable -> unit
public function EnterCancelableRegion(
    cancelableObject : ICancelable
)

Parameters

Exceptions

Exception Condition
RequestCanceledException

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace