DiscoveryClientReferenceCollection.Add Method (String, DiscoveryReference)

 

Adds a DiscoveryReference with the specified URL and value to the DiscoveryClientReferenceCollection.

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

public void Add(
	string url,
	DiscoveryReference value
)

DiscoveryDocumentReference myDiscoveryDocumentReference =
    new DiscoveryDocumentReference();
string myStringUrl = "http://www.contoso.com/service.disco";
myDiscoveryClientReferenceCollection.Add(myStringUrl, 
    myDiscoveryDocumentReference);

.NET Framework
Available since 1.1
Return to top
Show: