IVsWCFReferenceGroup.SetName(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 name of a .svcmap file for a Windows Communication Foundation (WCF) service reference group.
public:
void SetName(System::String ^ pszName);
public:
void SetName(Platform::String ^ pszName);
void SetName(std::wstring const & pszName);
public void SetName (string pszName);
abstract member SetName : string -> unit
Public Sub SetName (pszName As String)
Parameters
- pszName
- String
A string that contains the name for the file without the extension.
Remarks
Changing the name only changes the name of the .svcmap file, not the reference group.
When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the method fails.