IVsWCFReferenceGroup.SetNamespace(String) Method

Definition

Sets the namespace for a Windows Communication Foundation (WCF) service reference group.

public:
 void SetNamespace(System::String ^ pszNamespace);
public:
 void SetNamespace(Platform::String ^ pszNamespace);
void SetNamespace(std::wstring const & pszNamespace);
public void SetNamespace(string pszNamespace);
abstract member SetNamespace : string -> unit
Public Sub SetNamespace (pszNamespace As String)

Parameters

pszNamespace
String

A string that contains the namespace.

Remarks

Changing the namespace of the reference group changes the name of the directory or moves the metadata to another ___location in the file system.

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

Applies to