Transport..::..Shutdown Method

Shuts down the transport layer and releases all of the corresponding resources. Shutdown is asynchronous and is signaled by the result of the returned Task. The transport SHOULD try flushing pending writes before becoming completely closed.

Namespace:  Akka.Remote.Transport
Assembly:  Akka.Remote (in Akka.Remote.dll)

Syntax


public Task<bool> Shutdown()
Public Function Shutdown As Task(Of Boolean)
public:
Task<bool^>^ Shutdown()

Return Value

Task signlaing the completion of the shutdown.