Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
Client Class
Client Methods
CreateUser Method
Dispose Method
Finalize Method
RemoveUser Method
Shutdown Method

Client Shutdown Method

Starts an asynchronous shutdown of the client.

All users and associated sessions will be removed, all sockets closed, all services shut down and other internal resources released. When shutdown is complete, the ShutdownCompleted event will be fired. When this occurs it is safe to dispose of the client.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public void Shutdown(
    	bool gracefulShutdown
    )

#### Parameters

gracefulShutdown
  Type: System
  Boolean
  True if an attempt should be made to disconnect users from servers, to wait for signaling completed, before cleanup of local resources (a graceful shutdown). False if local-only shutdown should be performed (an ungraceful shutdown).

Remarks
Shutdown may be graceful or ungraceful from the signaling perspective. In a graceful shutdown, it will attempt to disconnect all established connections with servers and to unregister users with servers if applicable, before proceeding with shutdown and cleanup of internal resources. It will wait to ensure that all the required signaling is exchanged with the servers before the shutdown operation is reported as complete.This graceful shutdown operation may take some time as it may require waiting on timeouts if the server or remote end of sessions are unreachable or unresponsive. In an ungraceful shutdown, only shutdown of local services and local resource cleanup are performed.
See Also

#### Reference

Client Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.