IVsWCFReferenceGroup.SetNamespace(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 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.