Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void
 protected virtual void Dispose(bool disposing)
 {
     if (!_isDisposed)
     {
         if (disposing && _stsClient != null)
         {
             _stsClient.Dispose();
             _stsClient = null;
         }
         _isDisposed = true;
     }
 }