Freigeben über


DiscoveryExceptionDictionary.Remove-Methode

Entfernt eine Exception mit dem angegebenen URL aus dem DiscoveryExceptionDictionary.

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public Sub Remove ( _
    url As String _
)
'Usage
Dim instance As DiscoveryExceptionDictionary
Dim url As String

instance.Remove(url)
public void Remove (
    string url
)
public:
void Remove (
    String^ url
)
public void Remove (
    String url
)
public function Remove (
    url : String
)

Parameter

Ausnahmen

Ausnahmetyp Bedingung

ArgumentNullException

url ist NULL (Nothing in Visual Basic).

Beispiel

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

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

DiscoveryExceptionDictionary-Klasse
DiscoveryExceptionDictionary-Member
System.Web.Services.Discovery-Namespace
Remove