IVsWCFReferenceGroup.SetReferenceUrl(Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets URL from which metadata for a Windows Communication Foundation (WCF) service reference is downloaded.
public:
void SetReferenceUrl(int index, System::String ^ pszReferenceUrl);
public:
void SetReferenceUrl(int index, Platform::String ^ pszReferenceUrl);
void SetReferenceUrl(int index, std::wstring const & pszReferenceUrl);
public void SetReferenceUrl (int index, string pszReferenceUrl);
abstract member SetReferenceUrl : int * string -> unit
Public Sub SetReferenceUrl (index As Integer, pszReferenceUrl As String)
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.