System.Configuration.EmptyImpersonationContext.GetStaticInstance C# (CSharp) Method

GetStaticInstance() static private method

static private GetStaticInstance ( ) : IDisposable
return IDisposable
        static internal IDisposable GetStaticInstance() {
            if (s_emptyImpersonationContext == null) {
                s_emptyImpersonationContext = new EmptyImpersonationContext();
            }

            return s_emptyImpersonationContext;
        }
EmptyImpersonationContext