IVsWCFReferenceGroup.SetReferenceUrl Method
Sets URL from which metadata for a Windows Communication Foundation (WCF) service reference is downloaded.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Sub SetReferenceUrl ( _
index As Integer, _
pszReferenceUrl As String _
)
void SetReferenceUrl(
int index,
string pszReferenceUrl
)
void SetReferenceUrl(
[InAttribute] int index,
[InAttribute] String^ pszReferenceUrl
)
abstract SetReferenceUrl :
index:int *
pszReferenceUrl:string -> unit
function SetReferenceUrl(
index : int,
pszReferenceUrl : String
)
Parameters
index
Type: System.Int32An Integer that contains the index of the service reference.
pszReferenceUrl
Type: System.StringA 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.