C-DEngine 5.105

HttpListenerPrefixCollection..::..Remove Method

Removes the specified uriPrefix from the collection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public bool Remove(
	string uriPrefix
)
Public Function Remove ( _
	uriPrefix As String _
) As Boolean
public:
bool^ Remove(
	String^ uriPrefix
)

Parameters

uriPrefix
Type: String
A String that represents the URI prefix to remove.

Return Value

true if uriPrefix is successfully found and removed; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullExceptionuriPrefix is nullNothingnullptra null reference (Nothing in Visual Basic).
ObjectDisposedException The HttpListener associated with this collection is closed.