Click or drag to resize
ServerPortCollection Methods

The ServerServerPortCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd(ServerPort)
Adds a new port on which server should listen. Only call this before Start().

Return Value

Type: 
The port on which server will be listening.
Public methodAdd(String, Int32, ServerCredentials)
Adds a new port on which server should listen.

Return Value

Type: 
The port on which server will be listening.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets enumerator for this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also