HttpListenerPrefixCollectionAdd Method |
Adds the specified uriPrefix to the collection.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public void Add(
string uriPrefix
)
Parameters
- uriPrefix
- Type: SystemString
A String that represents the URI prefix to add. The prefix must be
a well-formed URI prefix with http or https scheme, and must end with a '/'.
Implements
ICollectionTAdd(T)Exceptions Exception | Condition |
---|
ArgumentNullException | uriPrefix is .
|
ArgumentException | uriPrefix is invalid.
|
ObjectDisposedException |
The HttpListener associated with this collection is closed.
|
See Also