System.Configuration.BaseConfigurationRecord.Impersonate C# (CSharp) 메소드

Impersonate() 보호된 메소드

protected Impersonate ( ) : IDisposable
리턴 IDisposable
        protected IDisposable Impersonate() {
            IDisposable context = null;
            if (ClassFlags[ClassSupportsImpersonation]) {
                context = Host.Impersonate();                
            }

            if (context == null) {
                context = EmptyImpersonationContext.GetStaticInstance();
            }

            return context;
        }
BaseConfigurationRecord