StatefulActorServiceReplica.OnCloseAsync Method

Namespace: Microsoft.ServiceFabric.Actors
Assembly: Microsoft.ServiceFabric.Actors (in Microsoft.ServiceFabric.Actors.dll)

Usage

'Usage
Dim cancellationToken As CancellationToken
Dim returnValue As Task

returnValue = Me.OnCloseAsync(cancellationToken)

Syntax

'Declaration
<DebuggerStepThroughAttribute> _
Protected Overrides Function OnCloseAsync ( _
    cancellationToken As CancellationToken _
) As Task
[DebuggerStepThroughAttribute] 
protected override Task OnCloseAsync (
    CancellationToken cancellationToken
)
[DebuggerStepThroughAttribute] 
protected:
virtual Task^ OnCloseAsync (
    CancellationToken cancellationToken
) override
/** @attribute DebuggerStepThroughAttribute() */ 
protected Task OnCloseAsync (
    CancellationToken cancellationToken
)
DebuggerStepThroughAttribute 
protected override function OnCloseAsync (
    cancellationToken : CancellationToken
) : Task

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

StatefulActorServiceReplica Class StatefulActorServiceReplica Members
Microsoft.ServiceFabric.Actors Namespace