Share via


IVsWCFMetadataStorageProvider.MakeValidReferenceName Method

Definition

Returns a unique name and namespace for a Windows Communication Foundation (WCF) service reference.

public:
 void MakeValidReferenceName(System::String ^ pszNamespace, System::String ^ pszReferenceName, [Runtime::InteropServices::Out] System::String ^ % pbstrSuggestedNamespace, [Runtime::InteropServices::Out] System::String ^ % pbstrSuggestedReferenceName);
void MakeValidReferenceName(std::wstring const & pszNamespace, std::wstring const & pszReferenceName, [Runtime::InteropServices::Out] std::wstring const & & pbstrSuggestedNamespace, [Runtime::InteropServices::Out] std::wstring const & & pbstrSuggestedReferenceName);
public void MakeValidReferenceName (string pszNamespace, string pszReferenceName, out string pbstrSuggestedNamespace, out string pbstrSuggestedReferenceName);
abstract member MakeValidReferenceName : string * string * string * string -> unit
Public Sub MakeValidReferenceName (pszNamespace As String, pszReferenceName As String, ByRef pbstrSuggestedNamespace As String, ByRef pbstrSuggestedReferenceName As String)

Parameters

pszNamespace
String

A string that contains the namespace for the reference.

pszReferenceName
String

A string that contains the name of the reference.

pbstrSuggestedNamespace
String

A string that contains the new namespace for the reference.

pbstrSuggestedReferenceName
String

A string that contains the new name of the reference.

Applies to