System.Windows.Automation.CacheRequest.CheckAccess C# (CSharp) Method

CheckAccess() private method

private CheckAccess ( ) : void
return void
        private void CheckAccess()
        {
            if ((this._cRef != 0) || (this == DefaultCacheRequest))
            {
                throw new InvalidOperationException("Can't modify an active cache request");
            }
        }