共用方式為


IVsServiceReferenceMetadataStorageProvider.MakeValidServiceReferenceName Method

Definition

Returns a unique name and namespace for a XML web service reference.

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

Parameters

pszStorageType
String

The ServiceReferenceType of the XML web service reference.

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