DiscoveryClientDocumentCollection.Remove Method (String)
.NET Framework (current version)
Removes an object with the specified URL from the DiscoveryClientDocumentCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- url
-
Type:
System.String
The URL for the discovered document to remove from the DiscoveryClientDocumentCollection.
| Exception | Condition |
|---|---|
| ArgumentNullException | url is null. |
The following code example removes the discovery document with a URL of http://www.contoso.com/service1.disco from the DiscoveryClientDocumentCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: