Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpListenerPrefixCollection Members

Represents the collection used to store Uniform Resource Identifier (URI) prefixes for HttpListener objects.

The following tables list the members exposed by the HttpListenerPrefixCollection type.

  Name Description
Public property Count Gets the number of prefixes contained in the collection.
Public property IsReadOnly Gets a value that indicates whether access to the collection is read-only.
Public property IsSynchronized Gets a value that indicates whether access to the collection is synchronized (thread-safe).
Top
(see also Protected Methods )
  Name Description
Public method Add Adds a Uniform Resource Identifier (URI) prefix to the collection.
Public method Clear Removes all the Uniform Resource Identifier (URI) prefixes from the collection.
Public method Contains Returns a Boolean value that indicates whether the specified prefix is contained in the collection.
Public method CopyTo Overloaded. Copies the contents of an HttpListenerPrefixCollection to an array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Returns an object that can be used to iterate through the collection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified Uniform Resource Identifier (URI) from the list of prefixes handled by the HttpListener object.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
  Name Description
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an object that can be used to iterate through the collection.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.