This documentation is archived and is not being maintained.

DiscoveryExceptionDictionary.Remove Method

Removes an Exception with the specified URL from the DiscoveryExceptionDictionary.

[Visual Basic]
Public Sub Remove( _
   ByVal url As String _
)
[C#]
public void Remove(
 string url
);
[C++]
public: void Remove(
 String* url
);
[JScript]
public function Remove(
   url : String
);

Parameters

url
The URL of the Exception to remove from the DiscoveryExceptionDictionary.

Exceptions

Exception Type Condition
ArgumentNullException url is a null reference (Nothing in Visual Basic).

Example

[Visual Basic] 
' Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey)

[C#] 
// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey);

[C++] 
// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary->Remove(myUrlKey);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DiscoveryExceptionDictionary Class | DiscoveryExceptionDictionary Members | System.Web.Services.Discovery Namespace | Remove

Show: