IVsWCFReferenceGroup::SetNamespace Method (String^)

 

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

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void SetNamespace(
	String^ pszNamespace
)

Parameters

pszNamespace
Type: System::String^

A string that contains the namespace.

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.

Return to top
Show: