Microsoft.Azure.Commands.Insights.ManagementCmdletBase.Dispose C# (CSharp) Method

Dispose() protected method

Dispose the resources
protected Dispose ( bool disposing ) : void
disposing bool Indicates whether the managed resources should be disposed or not
return void
        protected override void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (this.insightsManagementClient != null)
                {
                    this.insightsManagementClient.Dispose();
                    this.insightsManagementClient = null;
                }

                this.disposed = true;
            }
            base.Dispose(disposing);
        }
ManagementCmdletBase