System.Net.HttpListener.CheckDisposed C# (CSharp) Метод

CheckDisposed() приватный Метод

private CheckDisposed ( ) : void
Результат void
        internal void CheckDisposed()
        {
            throw new PlatformNotSupportedException();
        }

Usage Example

Пример #1
0
        public void CopyTo(Array array, int offset)
        {
            m_HttpListener.CheckDisposed();
            if (Count > array.Length)
            {
                throw new ArgumentOutOfRangeException("array", SR.GetString(SR.net_array_too_small));
            }
            if (offset + Count > array.Length)
            {
                throw new ArgumentOutOfRangeException("offset");
            }
            int index = 0;

            foreach (string uriPrefix in m_HttpListener.m_UriPrefixes.Keys)
            {
                array.SetValue(uriPrefix, offset + index++);
            }
        }
All Usage Examples Of System.Net.HttpListener::CheckDisposed