DurableInstanceContext.BeginCancel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  System.ServiceModel.Activities.Dispatcher
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

Syntax

'Declaration
Public Function BeginCancel ( _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As DurableInstanceContext
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginCancel(timeout, _
    callback, state)
public IAsyncResult BeginCancel(
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
)
public:
IAsyncResult^ BeginCancel(
    TimeSpan timeout, 
    AsyncCallback^ callback, 
    Object^ state
)
public function BeginCancel(
    timeout : TimeSpan, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult
member BeginCancel : 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 

Parameters

Return Value

Type: System.IAsyncResult

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

See Also

Reference

DurableInstanceContext Class

DurableInstanceContext Members

System.ServiceModel.Activities.Dispatcher Namespace