DiscoveryClientReferenceCollection.Add Method (DiscoveryReference)

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

public void Add(
	DiscoveryReference value
)

DiscoveryClientReferenceCollection myDiscoveryClientReferenceCollection = 
    new DiscoveryClientReferenceCollection();

ContractReference myContractReference = new ContractReference();
string myStringUrl1 = "http://www.contoso.com/service1.disco";
myContractReference.Ref = myStringUrl1;
myDiscoveryClientReferenceCollection.Add(myContractReference);

.NET Framework
Available since 1.1
Return to top
Show: