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)
Syntax
'Declaration
Public Function BeginTerminate ( _
reason As String, _
timeout As TimeSpan, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
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
)
public:
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
Parameters
- reason
Type: System.String
- timeout
Type: System.TimeSpan
- callback
Type: System.AsyncCallback
- state
Type: System.Object
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