IVsWCFReferenceGroup.SetName Method
Sets the name of a .svcmap file 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)
Syntax
'Declaration
Sub SetName ( _
pszName As String _
)
void SetName(
string pszName
)
void SetName(
[InAttribute] String^ pszName
)
abstract SetName :
pszName:string -> unit
function SetName(
pszName : String
)
Parameters
- pszName
Type: System.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.
.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.