DurableInstanceContext.BeginTerminate Method (String, TimeSpan, AsyncCallback, Object)

[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)


Public Function BeginTerminate ( _
    reason As String, _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
Dim instance As DurableInstanceContext
Dim reason As String
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

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


Return Value

Type: System.IAsyncResult


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


DurableInstanceContext Class

DurableInstanceContext Members

BeginTerminate Overload

System.ServiceModel.Activities.Dispatcher Namespace