DurableInstanceContext.Cancel Method (TimeSpan)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Cancels the instance during the specified time-out and allows cancellation logic to run.
Namespace: System.ServiceModel.Activities.Dispatcher
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
Syntax
'Declaration
Public Sub Cancel ( _
timeout As TimeSpan _
)
'Usage
Dim instance As DurableInstanceContext
Dim timeout As TimeSpan
instance.Cancel(timeout)
public void Cancel(
TimeSpan timeout
)
public:
void Cancel(
TimeSpan timeout
)
public function Cancel(
timeout : TimeSpan
)
member Cancel :
timeout:TimeSpan -> unit
Parameters
- timeout
Type: System.TimeSpan
TimeSpan
The period during which an attempt is made to cancel the process.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4