Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- cancelableObject 
 Type: Microsoft.TeamFoundation.Framework.Server.ICancelable- The cancelable object. 
Exceptions
| Exception | Condition | 
|---|---|
| RequestCanceledException | 
.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.