IVsWCFReferenceGroup.SetReferenceUrl(Int32, String) Method

Definition

Sets URL from which metadata for a Windows Communication Foundation (WCF) service reference is downloaded.

C++/CX
public:
 void SetReferenceUrl(int index, Platform::String ^ pszReferenceUrl);

Parameters

index
Int32

An Integer that contains the index of the service reference.

pszReferenceUrl
String

A string that contains the URL.

Remarks

When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the method fails.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022